Completed
Pull Request — master (#2026)
by Sander
22:59
created
MenuBundle/Tests/DependencyInjection/KunstmaanMenuExtensionTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
 class KunstmaanMenuExtensionTest extends AbstractPrependableExtensionTestCase
13 13
 {
14 14
     /**
15
-     * @return ExtensionInterface[]
15
+     * @return KunstmaanMenuExtension[]
16 16
      */
17 17
     protected function getContainerExtensions()
18 18
     {
Please login to merge, or discard this patch.
Tests/DependencyInjection/KunstmaanMultiDomainExtensionTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
 class KunstmaanMultiDomainExtensionTest extends AbstractPrependableExtensionTestCase
13 13
 {
14 14
     /**
15
-     * @return ExtensionInterface[]
15
+     * @return KunstmaanMultiDomainExtension[]
16 16
      */
17 17
     protected function getContainerExtensions()
18 18
     {
Please login to merge, or discard this patch.
MultiDomainBundle/Tests/EventListener/HostOverrideListenerTest.php 1 patch
Doc Comments   +8 added lines patch added patch discarded remove patch
@@ -138,6 +138,9 @@  discard block
 block discarded – undo
138 138
         $object->onKernelResponse($event);
139 139
     }
140 140
 
141
+    /**
142
+     * @param \PHPUnit_Framework_MockObject_MockObject $flashBag
143
+     */
141 144
     private function getHostOverrideListener($flashBag)
142 145
     {
143 146
         $session = $this->getMockBuilder('Symfony\Component\HttpFoundation\Session\Session')
@@ -172,6 +175,11 @@  discard block
 block discarded – undo
172 175
         return $listener;
173 176
     }
174 177
 
178
+    /**
179
+     * @param Request $request
180
+     *
181
+     * @return \Symfony\Component\HttpKernel\Event\FilterResponseEvent
182
+     */
175 183
     private function getFilterResponseEvent($request, $response, $requestType = HttpKernelInterface::MASTER_REQUEST)
176 184
     {
177 185
         $event = $this->getMockBuilder('Symfony\Component\HttpKernel\Event\FilterResponseEvent')
Please login to merge, or discard this patch.
src/Kunstmaan/MultiDomainBundle/Tests/Helper/DomainConfigurationTest.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -381,6 +381,9 @@  discard block
 block discarded – undo
381 381
         return $request;
382 382
     }
383 383
 
384
+    /**
385
+     * @param string $uri
386
+     */
384 387
     private function getRequestWithOverride($uri)
385 388
     {
386 389
         $session = new Session(new MockArraySessionStorage());
@@ -394,6 +397,9 @@  discard block
 block discarded – undo
394 397
         return $request;
395 398
     }
396 399
 
400
+    /**
401
+     * @param Request $request
402
+     */
397 403
     private function getDomainConfiguration($request)
398 404
     {
399 405
         $hostMap = array(
Please login to merge, or discard this patch.
Kunstmaan/MultiDomainBundle/Tests/Router/DomainBasedLocaleRouterTest.php 1 patch
Doc Comments   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -178,8 +178,8 @@  discard block
 block discarded – undo
178 178
     }
179 179
 
180 180
     /**
181
-     * @param $request
182
-     * @param null $nodeTranslation
181
+     * @param Request $request
182
+     * @param NodeTranslation $nodeTranslation
183 183
      * @return Container
184 184
      */
185 185
     private function getContainer($request, $nodeTranslation = null)
@@ -242,6 +242,9 @@  discard block
 block discarded – undo
242 242
         return $request;
243 243
     }
244 244
 
245
+    /**
246
+     * @param NodeTranslation $nodeTranslation
247
+     */
245 248
     private function getEntityManager($nodeTranslation = null)
246 249
     {
247 250
         $em = $this->createMock('Doctrine\ORM\EntityManagerInterface');
Please login to merge, or discard this patch.
Kunstmaan/NodeBundle/Form/EventListener/URLChooserLinkTypeSubscriber.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -3,9 +3,7 @@
 block discarded – undo
3 3
 namespace Kunstmaan\NodeBundle\Form\EventListener;
4 4
 
5 5
 use Kunstmaan\NodeBundle\Form\Type\URLChooserType;
6
-use Kunstmaan\NodeBundle\Validation\URLValidator;
7 6
 use Symfony\Component\EventDispatcher\EventSubscriberInterface;
8
-use Symfony\Component\Form\Extension\Core\Type\CheckboxType;
9 7
 use Symfony\Component\Form\Extension\Core\Type\TextType;
10 8
 use Symfony\Component\Form\FormEvent;
11 9
 use Symfony\Component\Form\FormEvents;
Please login to merge, or discard this patch.
NodeBundle/Tests/DependencyInjection/KunstmaanNodeExtensionTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
 class KunstmaanNodeExtensionTest extends AbstractPrependableExtensionTestCase
13 13
 {
14 14
     /**
15
-     * @return ExtensionInterface[]
15
+     * @return KunstmaanNodeExtension[]
16 16
      */
17 17
     protected function getContainerExtensions()
18 18
     {
Please login to merge, or discard this patch.
src/Kunstmaan/NodeBundle/Tests/Router/SlugRouterTest.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -65,6 +65,10 @@
 block discarded – undo
65 65
         $object->match('/en/some-uri');
66 66
     }
67 67
 
68
+    /**
69
+     * @param Request|null $request
70
+     * @param NodeTranslation $nodeTranslation
71
+     */
68 72
     private function getContainer($request, $multiLanguage = false, $nodeTranslation = null)
69 73
     {
70 74
         $container    = $this->createMock('Symfony\Component\DependencyInjection\ContainerInterface');
Please login to merge, or discard this patch.
src/Kunstmaan/NodeBundle/Toolbar/NodeDataCollector.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
     }
22 22
 
23 23
     /**
24
-     * @return array
24
+     * @return string[]
25 25
      */
26 26
     public function getAccessRoles()
27 27
     {
Please login to merge, or discard this patch.