Completed
Push — dev ( dcd39b...53a432 )
by Arnaud
09:34
created
Tests/AdminBundle/Admin/Factory/AdminFactoryTest.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -139,7 +139,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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();
Please login to merge, or discard this patch.