Completed
Push — master ( dd4291...1d438e )
by Ruud
124:32 queued 111:32
created
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.
src/Kunstmaan/NodeBundle/Helper/FormWidgets/PermissionsFormWidget.php 2 patches
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -104,7 +104,7 @@  discard block
 block discarded – undo
104 104
     /**
105 105
      * @param string $identifier
106 106
      *
107
-     * @return TabInterface
107
+     * @return PermissionsFormWidget
108 108
      */
109 109
     public function setIdentifier($identifier)
110 110
     {
@@ -124,7 +124,7 @@  discard block
 block discarded – undo
124 124
     /**
125 125
      * @param HasNodeInterface $page
126 126
      *
127
-     * @return PermissionTab
127
+     * @return PermissionsFormWidget
128 128
      */
129 129
     public function setPage($page)
130 130
     {
@@ -144,7 +144,7 @@  discard block
 block discarded – undo
144 144
     /**
145 145
      * @param PermissionAdmin $permissionAdmin
146 146
      *
147
-     * @return PermissionTab
147
+     * @return PermissionsFormWidget
148 148
      */
149 149
     public function setPermissionAdmin($permissionAdmin)
150 150
     {
@@ -164,7 +164,7 @@  discard block
 block discarded – undo
164 164
     /**
165 165
      * @param PermissionMapInterface $permissionMap
166 166
      *
167
-     * @return PermissionTab
167
+     * @return PermissionsFormWidget
168 168
      */
169 169
     public function setPermissionMap($permissionMap)
170 170
     {
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -4,11 +4,9 @@
 block discarded – undo
4 4
 
5 5
 use Doctrine\ORM\EntityManager;
6 6
 use Kunstmaan\AdminBundle\Helper\FormWidgets\FormWidget;
7
-
8 7
 use Kunstmaan\AdminBundle\Helper\Security\Acl\Permission\PermissionAdmin;
9 8
 use Kunstmaan\AdminBundle\Helper\Security\Acl\Permission\PermissionMapInterface;
10 9
 use Kunstmaan\NodeBundle\Entity\HasNodeInterface;
11
-
12 10
 use Kunstmaan\NodeBundle\Entity\Node;
13 11
 use Symfony\Component\Form\FormBuilderInterface;
14 12
 use Symfony\Component\Form\FormView;
Please login to merge, or discard this patch.
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   -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@
 block discarded – undo
5 5
 use Kunstmaan\AdminBundle\Entity\AbstractEntity;
6 6
 use Kunstmaan\NodeBundle\Entity\AbstractPage;
7 7
 use Kunstmaan\NodeBundle\Entity\HasNodeInterface;
8
-use Symfony\Component\Form\AbstractType;
9 8
 
10 9
 /**
11 10
  * TestEntity
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.