class AttributeMetadata implements AttributeMetadataInterface
{
/**
- * @var string
- *
* @internal This property is public in order to reduce the size of the
* class' serialized representation. Do not access it. Use
* {@link getName()} instead.
public $name;
/**
- * @var array
- *
* @internal This property is public in order to reduce the size of the
* class' serialized representation. Do not access it. Use
* {@link getGroups()} instead.
*/
public function addGroup($group)
{
- if (!in_array($group, $this->groups)) {
+ if (!\in_array($group, $this->groups)) {
$this->groups[] = $group;
}
}