@@ -118,7 +118,7 @@ discard block |
||
118 | 118 | public function toArray() |
119 | 119 | { |
120 | 120 | return array_map( |
121 | - static function (?Link $link) { |
|
121 | + static function(?Link $link) { |
|
122 | 122 | return $link ? $link->toArray() : null; |
123 | 123 | }, |
124 | 124 | $this->links |
@@ -145,6 +145,6 @@ discard block |
||
145 | 145 | #[\ReturnTypeWillChange] |
146 | 146 | public function jsonSerialize() |
147 | 147 | { |
148 | - return (object) $this->toArray(); |
|
148 | + return (object)$this->toArray(); |
|
149 | 149 | } |
150 | 150 | } |
@@ -76,6 +76,6 @@ |
||
76 | 76 | #[\ReturnTypeWillChange] |
77 | 77 | public function jsonSerialize() |
78 | 78 | { |
79 | - return (object) $this->toArray(); |
|
79 | + return (object)$this->toArray(); |
|
80 | 80 | } |
81 | 81 | } |
@@ -140,6 +140,6 @@ |
||
140 | 140 | #[\ReturnTypeWillChange] |
141 | 141 | public function jsonSerialize() |
142 | 142 | { |
143 | - return (object) $this->toArray(); |
|
143 | + return (object)$this->toArray(); |
|
144 | 144 | } |
145 | 145 | } |