@@ -48,7 +48,7 @@ |
||
48 | 48 | $eventManager->addEventListener([Events::postLoad], new DDC2602PostLoadListener()); |
49 | 49 | |
50 | 50 | $result = $this->_em->createQuery('SELECT u, b FROM Doctrine\Tests\ORM\Functional\Ticket\DDC2602User u JOIN u.biography b') |
51 | - ->getResult(); |
|
51 | + ->getResult(); |
|
52 | 52 | |
53 | 53 | self::assertCount(2, $result); |
54 | 54 | self::assertCount(2, $result[0]->biography->fieldList); |
@@ -149,10 +149,10 @@ |
||
149 | 149 | foreach ($content as $selection) { |
150 | 150 | $field = $result[$selection->field]; |
151 | 151 | $choiceList = $selection->choiceList; |
152 | - $fieldSelection = new DDC2602FieldSelection(); |
|
152 | + $fieldSelection = new DDC2602FieldSelection(); |
|
153 | 153 | |
154 | 154 | $fieldSelection->field = $field; |
155 | - $fieldSelection->choiceList = $field->choiceList->filter(function ($choice) use ($choiceList) { |
|
155 | + $fieldSelection->choiceList = $field->choiceList->filter(function($choice) use ($choiceList) { |
|
156 | 156 | return in_array($choice->id, $choiceList); |
157 | 157 | }); |
158 | 158 |
@@ -168,7 +168,7 @@ discard block |
||
168 | 168 | ->expects(self::once()) |
169 | 169 | ->method('loadCollection') |
170 | 170 | ->with($this->collection) |
171 | - ->willReturnCallback(function (PersistentCollection $persistentCollection) use ($persistedElement) : void { |
|
171 | + ->willReturnCallback(function(PersistentCollection $persistentCollection) use ($persistedElement) : void { |
|
172 | 172 | $persistentCollection->unwrap()->add($persistedElement); |
173 | 173 | }); |
174 | 174 | |
@@ -205,7 +205,7 @@ discard block |
||
205 | 205 | ->expects(self::once()) |
206 | 206 | ->method('loadCollection') |
207 | 207 | ->with($this->collection) |
208 | - ->willReturnCallback(function (PersistentCollection $persistentCollection) use ( |
|
208 | + ->willReturnCallback(function(PersistentCollection $persistentCollection) use ( |
|
209 | 209 | $persistedElement, |
210 | 210 | $newElementThatIsAlsoPersisted |
211 | 211 | ) : void { |
@@ -247,7 +247,7 @@ discard block |
||
247 | 247 | ->expects(self::once()) |
248 | 248 | ->method('loadCollection') |
249 | 249 | ->with($this->collection) |
250 | - ->willReturnCallback(function (PersistentCollection $persistentCollection) use ( |
|
250 | + ->willReturnCallback(function(PersistentCollection $persistentCollection) use ( |
|
251 | 251 | $persistedElement, |
252 | 252 | $newElementThatIsAlsoPersisted |
253 | 253 | ) : void { |