@@ -27,7 +27,7 @@ |
||
27 | 27 | public ?string $uiComponent; |
28 | 28 | |
29 | 29 | /** @ORM\Column(type="json", nullable=true) */ |
30 | - public ?array $uiClassNames; |
|
30 | + public ? array $uiClassNames; |
|
31 | 31 | |
32 | 32 | /** |
33 | 33 | * @ORM\ManyToMany(targetEntity="Silverback\ApiComponentBundle\Entity\Core\ComponentGroup") |
@@ -39,7 +39,7 @@ |
||
39 | 39 | /** |
40 | 40 | * @ORM\Column(type="array", nullable=true) |
41 | 41 | */ |
42 | - private ?array $defaultQueryParameters; |
|
42 | + private ? array $defaultQueryParameters; |
|
43 | 43 | |
44 | 44 | /** |
45 | 45 | * @ApiProperty(writable=false) |
@@ -104,7 +104,7 @@ |
||
104 | 104 | $collection->setCollection($normalizedCollection); |
105 | 105 | } |
106 | 106 | |
107 | - $arrayCollection = $collection instanceof Paginator ? (array)$collection->getIterator() : $collection; |
|
107 | + $arrayCollection = $collection instanceof Paginator ? (array) $collection->getIterator() : $collection; |
|
108 | 108 | $resources = array_map(function ($object) { |
109 | 109 | return $this->iriConverter->getIriFromItem($object); |
110 | 110 | }, $arrayCollection); |