@@ -16,11 +16,11 @@ |
||
16 | 16 | */ |
17 | 17 | public function load(ServiceContainer $container, array $params) |
18 | 18 | { |
19 | - $container->define('event_dispatcher.listeners.data_provider', function () { |
|
19 | + $container->define('event_dispatcher.listeners.data_provider', function() { |
|
20 | 20 | return new DataProviderListener(); |
21 | 21 | }, ['event_dispatcher.listeners']); |
22 | 22 | |
23 | - $container->define('runner.maintainers.data_provider', function () { |
|
23 | + $container->define('runner.maintainers.data_provider', function() { |
|
24 | 24 | return new DataProviderMaintainer(); |
25 | 25 | }, ['runner.maintainers']); |
26 | 26 | } |
@@ -57,7 +57,7 @@ |
||
57 | 57 | |
58 | 58 | foreach ($providedData as $index => $dataRow) { |
59 | 59 | |
60 | - $title = $index+1 . ') '.$example->getTitle(); |
|
60 | + $title = $index + 1.') '.$example->getTitle(); |
|
61 | 61 | |
62 | 62 | if ($numberOfParameters < count($dataRow)) { |
63 | 63 | $title .= ': '.$dataRow[0]; |
@@ -65,7 +65,7 @@ |
||
65 | 65 | $providedData = $this->getDataFromProvider($example); |
66 | 66 | |
67 | 67 | if (!array_key_exists($exampleNum, $providedData)) { |
68 | - return ; |
|
68 | + return; |
|
69 | 69 | } |
70 | 70 | |
71 | 71 | $data = $providedData[$exampleNum]; |