@@ -301,7 +301,7 @@ discard block |
||
301 | 301 | |
302 | 302 | $queryCount = $this->getCurrentQueryCount(); |
303 | 303 | $this->assertFalse($user->articles->contains($article)); |
304 | - $this->assertEquals($queryCount+1, $this->getCurrentQueryCount(), 'Checking for contains of persisted entity should cause one query to be executed.'); |
|
304 | + $this->assertEquals($queryCount + 1, $this->getCurrentQueryCount(), 'Checking for contains of persisted entity should cause one query to be executed.'); |
|
305 | 305 | $this->assertFalse($user->articles->isInitialized(), 'Post-Condition: Collection is not initialized.'); |
306 | 306 | |
307 | 307 | // Test One to Many existence with state managed |
@@ -468,7 +468,7 @@ discard block |
||
468 | 468 | |
469 | 469 | $queryCount = $this->getCurrentQueryCount(); |
470 | 470 | $this->assertTrue($group->users->contains($user)); |
471 | - $this->assertEquals($queryCount+1, $this->getCurrentQueryCount(), 'Checking for contains of managed entity should cause one query to be executed.'); |
|
471 | + $this->assertEquals($queryCount + 1, $this->getCurrentQueryCount(), 'Checking for contains of managed entity should cause one query to be executed.'); |
|
472 | 472 | $this->assertFalse($user->groups->isInitialized(), 'Post-Condition: Collection is not initialized.'); |
473 | 473 | |
474 | 474 | $newUser = new CmsUser(); |
@@ -42,7 +42,7 @@ |
||
42 | 42 | |
43 | 43 | $user->tweets->removeElement($tweet); |
44 | 44 | |
45 | - $tweets = $user->tweets->map(static function (Tweet $tweet) { |
|
45 | + $tweets = $user->tweets->map(static function(Tweet $tweet) { |
|
46 | 46 | return $tweet->content; |
47 | 47 | }); |
48 | 48 |