Completed
Push — 5.0 ( cadd37...918ecf )
by Ruud
100:31 queued 89:28
created
src/Kunstmaan/NodeBundle/Helper/Menu/PageMenuAdaptor.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -177,7 +177,7 @@
 block discarded – undo
177 177
      * Get an array with the id's off all nodes in the tree that should be
178 178
      * expanded.
179 179
      *
180
-     * @param $request
180
+     * @param Request $request
181 181
      *
182 182
      * @return array
183 183
      */
Please login to merge, or discard this patch.
src/Kunstmaan/NodeBundle/Helper/NodeMenuItem.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -156,7 +156,7 @@
 block discarded – undo
156 156
     }
157 157
 
158 158
     /**
159
-     * @param NodeMenuItem|null|false $parent
159
+     * @param NodeMenuItem $parent
160 160
      */
161 161
     public function setParent($parent = false)
162 162
     {
Please login to merge, or discard this patch.
src/Kunstmaan/NodeBundle/Helper/Services/ACLPermissionCreatorService.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
50 50
     }
51 51
 
52 52
     /**
53
-     * @param object $object
53
+     * @param null|\Kunstmaan\NodeBundle\Entity\Node $object
54 54
      *
55 55
      * Create ACL permissions for an object.
56 56
      */
Please login to merge, or discard this patch.
Unused Use Statements   +6 added lines, -9 removed lines patch added patch discarded remove patch
@@ -2,15 +2,12 @@
 block discarded – undo
2 2
 
3 3
 namespace Kunstmaan\NodeBundle\Helper\Services;
4 4
 
5
-use Kunstmaan\AdminBundle\Helper\Security\Acl\Permission;
6
-
7
-use Kunstmaan\AdminBundle\Helper\Security\Acl\Permission\MaskBuilder,
8
-    Symfony\Component\DependencyInjection\ContainerInterface;
9
-
10
-use Symfony\Component\Security\Acl\Domain\RoleSecurityIdentity,
11
-    Symfony\Component\Security\Acl\Exception\AclNotFoundException,
12
-    Symfony\Component\Security\Acl\Model\MutableAclProviderInterface,
13
-    Symfony\Component\Security\Acl\Model\ObjectIdentityRetrievalStrategyInterface;
5
+use Kunstmaan\AdminBundle\Helper\Security\Acl\Permission\MaskBuilder;
6
+use Symfony\Component\DependencyInjection\ContainerInterface;
7
+use Symfony\Component\Security\Acl\Domain\RoleSecurityIdentity;
8
+use Symfony\Component\Security\Acl\Exception\AclNotFoundException;
9
+use Symfony\Component\Security\Acl\Model\MutableAclProviderInterface;
10
+use Symfony\Component\Security\Acl\Model\ObjectIdentityRetrievalStrategyInterface;
14 11
 
15 12
 /**
16 13
  * Service to add the correct permissions to new HasNodeInterface objects.
Please login to merge, or discard this patch.
src/Kunstmaan/NodeBundle/Repository/NodeTranslationRepository.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -127,6 +127,7 @@
 block discarded – undo
127 127
      * QueryBuilder to fetch immediate child NodeTranslations for a specific
128 128
      * node and (optional) language that are currently published
129 129
      *
130
+     * @param string $lang
130 131
      * @return \Doctrine\ORM\QueryBuilder
131 132
      */
132 133
     public function getOnlineChildrenQueryBuilder(Node $parent, $lang = null)
Please login to merge, or discard this patch.
src/Kunstmaan/NodeBundle/Router/SlugRouter.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -256,6 +256,7 @@
 block discarded – undo
256 256
     }
257 257
 
258 258
     /**
259
+     * @param string $host
259 260
      * @return boolean
260 261
      */
261 262
     protected function isMultiLanguage($host = null)
Please login to merge, or discard this patch.
src/Kunstmaan/NodeBundle/Tests/Entity/TestEntity.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@
 block discarded – undo
47 47
     }
48 48
 
49 49
     /**
50
-     * @return bool
50
+     * @return boolean|null
51 51
      */
52 52
     public function isOnline()
53 53
     {
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -6,8 +6,6 @@
 block discarded – undo
6 6
 use Kunstmaan\NodeBundle\Entity\AbstractPage;
7 7
 use Kunstmaan\NodeBundle\Entity\HasNodeInterface;
8 8
 
9
-use Symfony\Component\Form\AbstractType;
10
-
11 9
 /**
12 10
  * TestEntity
13 11
  */
Please login to merge, or discard this patch.
src/Kunstmaan/NodeBundle/Tests/Router/SlugRouterTest.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -116,6 +116,12 @@
 block discarded – undo
116 116
         $object->match('/en/some-uri');
117 117
     }
118 118
 
119
+    /**
120
+     * @param Request|null $request
121
+     * @param NodeTranslation $nodeTranslation
122
+     *
123
+     * @return \Symfony\Component\DependencyInjection\ContainerInterface
124
+     */
119 125
     private function getContainer($request, $multiLanguage = false, $nodeTranslation = null)
120 126
     {
121 127
         $container    = $this->getMock('Symfony\Component\DependencyInjection\ContainerInterface');
Please login to merge, or discard this patch.
src/Kunstmaan/NodeBundle/Twig/UrlReplaceTwigExtension.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
     }
21 21
 
22 22
     /**
23
-     * @return array
23
+     * @return \Twig_SimpleFilter[]
24 24
      */
25 25
     public function getFilters()
26 26
     {
Please login to merge, or discard this patch.
src/Kunstmaan/NodeSearchBundle/Configuration/NodePagesConfiguration.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -435,7 +435,7 @@  discard block
 block discarded – undo
435 435
     /**
436 436
      * Add type to the index document
437 437
      *
438
-     * @param object $page
438
+     * @param HasNodeInterface $page
439 439
      * @param array  $doc
440 440
      *
441 441
      * @return array
@@ -639,7 +639,7 @@  discard block
 block discarded – undo
639 639
     /**
640 640
      * Removes all HTML markup & decode HTML entities
641 641
      *
642
-     * @param $text
642
+     * @param string $text
643 643
      *
644 644
      * @return string
645 645
      */
@@ -666,7 +666,7 @@  discard block
 block discarded – undo
666 666
     /**
667 667
      * Fetch ACL permissions for the specified entity
668 668
      *
669
-     * @param object $object
669
+     * @param Node $object
670 670
      *
671 671
      * @return array
672 672
      */
@@ -701,7 +701,7 @@  discard block
 block discarded – undo
701 701
     /**
702 702
      * @param $publicNodeVersion
703 703
      *
704
-     * @return mixed
704
+     * @return HasNodeInterface
705 705
      */
706 706
     private function getNodeRefPage(NodeVersion $publicNodeVersion)
707 707
     {
Please login to merge, or discard this patch.