PHPCBF run

This commit is contained in:
Ferdinand Kuhl 2021-08-26 10:50:00 +02:00
parent c9ce9a90fd
commit 75528b78b2
3 changed files with 6 additions and 6 deletions

View file

@ -18,8 +18,8 @@ use Neos\Flow\Cli\CommandController;
class SequenceCommandController extends CommandController class SequenceCommandController extends CommandController
{ {
/** /**
* @var SequenceGenerator
* @Flow\Inject * @Flow\Inject
* @var SequenceGenerator
*/ */
protected $sequenceGenerator; protected $sequenceGenerator;

View file

@ -18,16 +18,16 @@ use Neos\Flow\Annotations as Flow;
class Insert class Insert
{ {
/** /**
* @var int
* @Flow\Identity * @Flow\Identity
* @ORM\Id * @ORM\Id
* @var int
*/ */
protected int $number; protected int $number;
/** /**
* @var string
* @Flow\Identity * @Flow\Identity
* @ORM\Id * @ORM\Id
* @var string
*/ */
protected string $type; protected string $type;
@ -70,8 +70,8 @@ class Insert
*/ */
public function setType($type): void public function setType($type): void
{ {
if (is_object($type)) { if (\is_object($type)) {
$type = get_class($type); $type = \get_class($type);
} }
$this->type = $type; $this->type = $type;
} }

View file

@ -119,7 +119,7 @@ class SequenceGenerator
*/ */
protected function inferTypeFromSource($stringOrObject): string protected function inferTypeFromSource($stringOrObject): string
{ {
if (is_object($stringOrObject)) { if (\is_object($stringOrObject)) {
$stringOrObject = TypeHandling::getTypeForValue($stringOrObject); $stringOrObject = TypeHandling::getTypeForValue($stringOrObject);
} }
if (! $stringOrObject) { if (! $stringOrObject) {