PHPCBF run
This commit is contained in:
parent
c9ce9a90fd
commit
75528b78b2
3 changed files with 6 additions and 6 deletions
|
@ -18,8 +18,8 @@ use Neos\Flow\Cli\CommandController;
|
|||
class SequenceCommandController extends CommandController
|
||||
{
|
||||
/**
|
||||
* @var SequenceGenerator
|
||||
* @Flow\Inject
|
||||
* @var SequenceGenerator
|
||||
*/
|
||||
protected $sequenceGenerator;
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue