@@ -29,7 +29,7 @@ discard block |
||
| 29 | 29 | )" |
| 30 | 30 | ); |
| 31 | 31 | |
| 32 | - self::$connection = new ConnectionLocator(function () use ($extendedPdo) { |
|
| 32 | + self::$connection = new ConnectionLocator(function() use ($extendedPdo) { |
|
| 33 | 33 | return $extendedPdo; |
| 34 | 34 | }); |
| 35 | 35 | } |
@@ -249,7 +249,7 @@ discard block |
||
| 249 | 249 | $this->assertNotFalse($data); |
| 250 | 250 | $this->assertInternalType('array', $data); |
| 251 | 251 | |
| 252 | - $testData = array_filter($testData, function ($row) { |
|
| 252 | + $testData = array_filter($testData, function($row) { |
|
| 253 | 253 | return ($row['type'] == 'type one'); |
| 254 | 254 | }); |
| 255 | 255 | $testData = array_values($testData); |
@@ -318,7 +318,7 @@ discard block |
||
| 318 | 318 | $this->assertInternalType('array', $data); |
| 319 | 319 | $this->assertCount(2, $data); |
| 320 | 320 | |
| 321 | - $testData = array_filter($testData, function ($row) { |
|
| 321 | + $testData = array_filter($testData, function($row) { |
|
| 322 | 322 | return ($row['type'] == 'type one'); |
| 323 | 323 | }); |
| 324 | 324 | $testData = array_values($testData); |
@@ -384,7 +384,7 @@ discard block |
||
| 384 | 384 | $repository = new MysqlActivityRepository(self::$connection); |
| 385 | 385 | $data = $repository->getActivitiesByTypeCount('type one'); |
| 386 | 386 | |
| 387 | - $testData = array_filter($testData, function ($row) { |
|
| 387 | + $testData = array_filter($testData, function($row) { |
|
| 388 | 388 | return ($row['type'] == 'type one'); |
| 389 | 389 | }); |
| 390 | 390 | |