@@ -41,7 +41,7 @@ discard block |
||
| 41 | 41 | )" |
| 42 | 42 | ); |
| 43 | 43 | |
| 44 | - self::$connection = new ConnectionLocator(function () use ($extendedPdo) { |
|
| 44 | + self::$connection = new ConnectionLocator(function() use ($extendedPdo) { |
|
| 45 | 45 | return $extendedPdo; |
| 46 | 46 | }); |
| 47 | 47 | } |
@@ -167,7 +167,7 @@ discard block |
||
| 167 | 167 | $this->assertInternalType('array', $data); |
| 168 | 168 | $this->assertCount(count($testData), $data); |
| 169 | 169 | |
| 170 | - usort($testData, function ($rowA, $rowB) { |
|
| 170 | + usort($testData, function($rowA, $rowB) { |
|
| 171 | 171 | return ((new DateTime($rowA['date'])) < (new DateTime($rowB['date']))); |
| 172 | 172 | }); |
| 173 | 173 | |
@@ -212,7 +212,7 @@ discard block |
||
| 212 | 212 | $this->assertNotFalse($data); |
| 213 | 213 | $this->assertInternalType('array', $data); |
| 214 | 214 | |
| 215 | - $testData = array_filter($testData, function ($row) { |
|
| 215 | + $testData = array_filter($testData, function($row) { |
|
| 216 | 216 | return ($row['display'] == 1); |
| 217 | 217 | }); |
| 218 | 218 | |
@@ -347,7 +347,7 @@ discard block |
||
| 347 | 347 | $this->assertNotFalse($data); |
| 348 | 348 | $this->assertStringMatchesFormat('%d', $data); |
| 349 | 349 | |
| 350 | - $testData = array_filter($testData, function ($row) { |
|
| 350 | + $testData = array_filter($testData, function($row) { |
|
| 351 | 351 | return ($row['display'] == 1); |
| 352 | 352 | }); |
| 353 | 353 | |
@@ -464,7 +464,7 @@ discard block |
||
| 464 | 464 | $this->assertNotFalse($data); |
| 465 | 465 | $this->assertInternalType('array', $data); |
| 466 | 466 | |
| 467 | - $testPostData = array_filter($testPostData, function ($row) { |
|
| 467 | + $testPostData = array_filter($testPostData, function($row) { |
|
| 468 | 468 | return ($row['display'] == 1); |
| 469 | 469 | }); |
| 470 | 470 | |
@@ -664,7 +664,7 @@ discard block |
||
| 664 | 664 | $this->assertNotFalse($data); |
| 665 | 665 | $this->assertStringMatchesFormat('%d', $data); |
| 666 | 666 | |
| 667 | - $testPostData = array_filter($testPostData, function ($row) { |
|
| 667 | + $testPostData = array_filter($testPostData, function($row) { |
|
| 668 | 668 | return ($row['display'] == 1); |
| 669 | 669 | }); |
| 670 | 670 | |