Completed
Push — refonte ( fb8aa6...9ac90d )
by Arnaud
08:49 queued 06:47
created
tests/AdminBundle/Bridge/Doctrine/ORM/DataProvider/ORMDataProviderTest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
         $eventDispatcher
90 90
             ->expects($this->once())
91 91
             ->method('dispatch')
92
-            ->willReturnCallback(function ($eventName, $event) use ($queryBuilder, $admin) {
92
+            ->willReturnCallback(function($eventName, $event) use ($queryBuilder, $admin) {
93 93
                 $this->assertEquals(AdminEvents::DOCTRINE_ORM_FILTER, $eventName);
94 94
                 /** @var DoctrineOrmFilterEvent $event */
95 95
                 $this->assertInstanceOf(DoctrineOrmFilterEvent::class, $event);
@@ -217,7 +217,7 @@  discard block
 block discarded – undo
217 217
             $requestStack
218 218
         );
219 219
 
220
-        $this->assertExceptionRaised(Exception::class, function () use ($provider, $admin) {
220
+        $this->assertExceptionRaised(Exception::class, function() use ($provider, $admin) {
221 221
             $provider->getItem($admin, 42);
222 222
         });
223 223
     }
@@ -230,7 +230,7 @@  discard block
 block discarded – undo
230 230
         /** @var RequestStack|MockObject $requestStack */
231 231
         $requestStack = $this->createMock(RequestStack::class);
232 232
 
233
-        $entity =new EntityFixture(42);
233
+        $entity = new EntityFixture(42);
234 234
 
235 235
         /** @var EntityManagerInterface|MockObject $entityManager */
236 236
         $entityManager = $this->createMock(EntityManagerInterface::class);
Please login to merge, or discard this patch.
src/Factory/FieldFactory.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -172,7 +172,7 @@
 block discarded – undo
172 172
     /**
173 173
      * @param array               $configuration
174 174
      * @param ActionConfiguration $actionConfiguration
175
-     * @return array
175
+     * @return string
176 176
      * @throws Exception
177 177
      */
178 178
     private function resolveTopLevelConfiguration(array $configuration, ActionConfiguration $actionConfiguration)
Please login to merge, or discard this patch.