Completed
Push — 5.0 ( cadd37...918ecf )
by Ruud
100:31 queued 89:28
created
src/Kunstmaan/MultiDomainBundle/Tests/Helper/DomainConfigurationTest.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -285,6 +285,9 @@  discard block
 block discarded – undo
285 285
         $this->assertEquals(array('en'), $object->getBackendLocales());
286 286
     }
287 287
 
288
+    /**
289
+     * @return \Symfony\Component\DependencyInjection\ContainerInterface
290
+     */
288 291
     private function getContainer($map, $request)
289 292
     {
290 293
         $container = $this->getMock('Symfony\Component\DependencyInjection\ContainerInterface');
@@ -390,6 +393,9 @@  discard block
 block discarded – undo
390 393
         return $request;
391 394
     }
392 395
 
396
+    /**
397
+     * @param string $uri
398
+     */
393 399
     private function getRequestWithOverride($uri)
394 400
     {
395 401
         $session = new Session(new MockArraySessionStorage());
@@ -402,6 +408,9 @@  discard block
 block discarded – undo
402 408
         return $request;
403 409
     }
404 410
 
411
+    /**
412
+     * @param Request $request
413
+     */
405 414
     private function getDomainConfiguration($request)
406 415
     {
407 416
         $hostMap = array(
Please login to merge, or discard this patch.
Kunstmaan/MultiDomainBundle/Tests/Router/DomainBasedLocaleRouterTest.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -91,6 +91,12 @@
 block discarded – undo
91 91
         $object->match('/en/some-uri');
92 92
     }
93 93
 
94
+    /**
95
+     * @param Request $request
96
+     * @param NodeTranslation $nodeTranslation
97
+     *
98
+     * @return \Symfony\Component\DependencyInjection\ContainerInterface
99
+     */
94 100
     private function getContainer($request, $nodeTranslation = null)
95 101
     {
96 102
         $container    = $this->getMock('Symfony\Component\DependencyInjection\ContainerInterface');
Please login to merge, or discard this patch.
src/Kunstmaan/NodeBundle/Controller/NodeAdminController.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -751,7 +751,7 @@  discard block
 block discarded – undo
751 751
      *
752 752
      * @param Request $request
753 753
      *
754
-     * @return string
754
+     * @return JsonResponse
755 755
      * @throws AccessDeniedException
756 756
      */
757 757
     public function reorderAction(Request $request)
@@ -1211,7 +1211,7 @@  discard block
 block discarded – undo
1211 1211
 
1212 1212
     /**
1213 1213
      * @param $originalNode
1214
-     * @param $nodeNewPage
1214
+     * @param Node $nodeNewPage
1215 1215
      */
1216 1216
     private function updateAcl($originalNode, $nodeNewPage)
1217 1217
     {
Please login to merge, or discard this patch.
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -8,13 +8,10 @@
 block discarded – undo
8 8
 use InvalidArgumentException;
9 9
 use Kunstmaan\AdminBundle\Entity\BaseUser;
10 10
 use Kunstmaan\AdminBundle\Entity\EntityInterface;
11
-use Kunstmaan\AdminBundle\Entity\User;
12 11
 use Kunstmaan\AdminBundle\FlashMessages\FlashTypes;
13 12
 use Kunstmaan\AdminBundle\Helper\FormWidgets\FormWidget;
14
-
15 13
 use Kunstmaan\AdminBundle\Helper\FormWidgets\Tabs\Tab;
16 14
 use Kunstmaan\AdminBundle\Helper\FormWidgets\Tabs\TabPane;
17
-
18 15
 use Kunstmaan\AdminBundle\Helper\Security\Acl\AclHelper;
19 16
 use Kunstmaan\AdminBundle\Helper\Security\Acl\Permission\PermissionMap;
20 17
 use Kunstmaan\AdminListBundle\AdminList\AdminList;
Please login to merge, or discard this patch.
src/Kunstmaan/NodeBundle/Entity/NodeVersionLock.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace Kunstmaan\NodeBundle\Entity;
4 4
 
5 5
 use Doctrine\ORM\Mapping as ORM;
6
-use Kunstmaan\AdminBundle\Entity\User;
7 6
 
8 7
 /**
9 8
  * NodeVersionLock
Please login to merge, or discard this patch.
src/Kunstmaan/NodeBundle/Entity/QueuedNodeTranslationAction.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -109,7 +109,7 @@  discard block
 block discarded – undo
109 109
     /**
110 110
      * Get user
111 111
      *
112
-     * @return string
112
+     * @return BaseUser
113 113
      */
114 114
     public function getUser()
115 115
     {
@@ -132,7 +132,7 @@  discard block
 block discarded – undo
132 132
     /**
133 133
      * Get date
134 134
      *
135
-     * @return DateTime
135
+     * @return \DateTime
136 136
      */
137 137
     public function getDate()
138 138
     {
Please login to merge, or discard this patch.
src/Kunstmaan/NodeBundle/Event/AdaptFormEvent.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace Kunstmaan\NodeBundle\Event;
4 4
 
5 5
 use Kunstmaan\AdminBundle\Helper\FormWidgets\Tabs\TabPane;
6
-
7 6
 use Kunstmaan\NodeBundle\Entity\HasNodeInterface;
8 7
 use Kunstmaan\NodeBundle\Entity\Node;
9 8
 use Kunstmaan\NodeBundle\Entity\NodeTranslation;
Please login to merge, or discard this patch.
src/Kunstmaan/NodeBundle/EventListener/FixDateListener.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
     /**
14 14
      * Make sure response has a timestamp
15 15
      *
16
-     * @param FilterResponseEvent|GetResponseEvent $event
16
+     * @param FilterResponseEvent $event
17 17
      */
18 18
     public function onKernelResponse(FilterResponseEvent $event)
19 19
     {
Please login to merge, or discard this patch.
src/Kunstmaan/NodeBundle/EventListener/SlugListener.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,6 @@
 block discarded – undo
8 8
 use Kunstmaan\NodeBundle\Event\Events;
9 9
 use Kunstmaan\NodeBundle\Event\SlugSecurityEvent;
10 10
 use Symfony\Component\EventDispatcher\EventDispatcherInterface;
11
-use Symfony\Component\HttpKernel\Controller\ControllerResolver;
12 11
 use Symfony\Component\HttpKernel\Controller\ControllerResolverInterface;
13 12
 use Symfony\Component\HttpKernel\Event\FilterControllerEvent;
14 13
 
Please login to merge, or discard this patch.
Kunstmaan/NodeBundle/Form/EventListener/URLChooserLinkTypeSubscriber.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@
 block discarded – undo
5 5
 use Kunstmaan\NodeBundle\Form\Type\URLChooserType;
6 6
 use Kunstmaan\NodeBundle\Validation\URLValidator;
7 7
 use Symfony\Component\EventDispatcher\EventSubscriberInterface;
8
-use Symfony\Component\Form\Extension\Core\Type\CheckboxType;
9 8
 use Symfony\Component\Form\Extension\Core\Type\TextType;
10 9
 use Symfony\Component\Form\FormEvent;
11 10
 use Symfony\Component\Form\FormEvents;
Please login to merge, or discard this patch.