@@ -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) |
@@ -95,7 +95,7 @@ |
||
95 | 95 | */ |
96 | 96 | $collection = $this->dataProvider->getCollection($resourceClass, Request::METHOD_GET, $dataProviderContext); |
97 | 97 | if ($collection instanceof Paginator) { |
98 | - $collection = (array)$collection->getIterator(); |
|
98 | + $collection = (array) $collection->getIterator(); |
|
99 | 99 | } |
100 | 100 | |
101 | 101 | $normalizedCollection = $this->itemNormalizer->normalize( |