@@ -139,7 +139,7 @@ |
||
| 139 | 139 | /** |
| 140 | 140 | * @param AdminInterface $admin |
| 141 | 141 | * @param array $configuration |
| 142 | - * @param $adminName |
|
| 142 | + * @param string $adminName |
|
| 143 | 143 | */ |
| 144 | 144 | protected function doTestAdmin(AdminInterface $admin, array $configuration, $adminName) |
| 145 | 145 | { |
@@ -81,7 +81,7 @@ discard block |
||
| 81 | 81 | // test with no configuration |
| 82 | 82 | $adminFactory = $this->mockAdminFactory(); |
| 83 | 83 | // unknow admin not exists, it should throw an exception |
| 84 | - $this->assertExceptionRaised('Exception', function () use ($adminFactory) { |
|
| 84 | + $this->assertExceptionRaised('Exception', function() use ($adminFactory) { |
|
| 85 | 85 | $adminFactory->getAdmin('unknown_admin'); |
| 86 | 86 | }); |
| 87 | 87 | // test with configurations samples |
@@ -105,7 +105,7 @@ discard block |
||
| 105 | 105 | // test with no configuration |
| 106 | 106 | $adminFactory = $this->mockAdminFactory(); |
| 107 | 107 | // unknow admin not exists, it should throw an exception |
| 108 | - $this->assertExceptionRaised('Exception', function () use ($adminFactory) { |
|
| 108 | + $this->assertExceptionRaised('Exception', function() use ($adminFactory) { |
|
| 109 | 109 | $adminFactory->getAdmin('unknown_admin'); |
| 110 | 110 | }); |
| 111 | 111 | // test with configurations samples |
@@ -129,7 +129,7 @@ discard block |
||
| 129 | 129 | // test with no configuration |
| 130 | 130 | $adminFactory = $this->mockAdminFactory(); |
| 131 | 131 | // unknow admin not exists, it should throw an exception |
| 132 | - $this->assertExceptionRaised('Exception', function () use ($adminFactory) { |
|
| 132 | + $this->assertExceptionRaised('Exception', function() use ($adminFactory) { |
|
| 133 | 133 | $adminFactory->getAdmin('unknown_admin'); |
| 134 | 134 | }); |
| 135 | 135 | $dataProvider = $this->mockDataProvider(); |