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
{
/**
* @var SequenceGenerator
* @Flow\Inject
* @var SequenceGenerator
*/
protected $sequenceGenerator;

View file

@ -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;
}

View file

@ -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) {