diff --git a/Classes/Command/SequenceCommandController.php b/Classes/Command/SequenceCommandController.php index d91a6aa..d57b4fc 100644 --- a/Classes/Command/SequenceCommandController.php +++ b/Classes/Command/SequenceCommandController.php @@ -18,8 +18,8 @@ use Neos\Flow\Cli\CommandController; class SequenceCommandController extends CommandController { /** - * @var SequenceGenerator * @Flow\Inject + * @var SequenceGenerator */ protected $sequenceGenerator; diff --git a/Classes/Domain/Model/Insert.php b/Classes/Domain/Model/Insert.php index 9e1a0fc..97b0cb8 100644 --- a/Classes/Domain/Model/Insert.php +++ b/Classes/Domain/Model/Insert.php @@ -18,16 +18,16 @@ use Neos\Flow\Annotations as Flow; class Insert { /** - * @var int * @Flow\Identity * @ORM\Id + * @var int */ protected int $number; /** - * @var string * @Flow\Identity * @ORM\Id + * @var string */ protected string $type; @@ -70,8 +70,8 @@ class Insert */ public function setType($type): void { - if (is_object($type)) { - $type = get_class($type); + if (\is_object($type)) { + $type = \get_class($type); } $this->type = $type; } diff --git a/Classes/Service/SequenceGenerator.php b/Classes/Service/SequenceGenerator.php index 12aca7e..715e6ab 100644 --- a/Classes/Service/SequenceGenerator.php +++ b/Classes/Service/SequenceGenerator.php @@ -119,7 +119,7 @@ class SequenceGenerator */ protected function inferTypeFromSource($stringOrObject): string { - if (is_object($stringOrObject)) { + if (\is_object($stringOrObject)) { $stringOrObject = TypeHandling::getTypeForValue($stringOrObject); } if (! $stringOrObject) {