Completed
Pull Request — 5.0 (#2066)
by Jeroen
31:48 queued 20:01
created
src/Kunstmaan/AdminBundle/Helper/FormWidgets/FormWidgetInterface.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -14,16 +14,19 @@
 block discarded – undo
14 14
 
15 15
     /**
16 16
      * @param FormBuilderInterface $builder The form builder
17
+     * @return void
17 18
      */
18 19
     public function buildForm(FormBuilderInterface $builder);
19 20
 
20 21
     /**
21 22
      * @param Request $request
23
+     * @return void
22 24
      */
23 25
     public function bindRequest(Request $request);
24 26
 
25 27
     /**
26 28
      * @param EntityManager $em The entity manager
29
+     * @return void
27 30
      */
28 31
     public function persist(EntityManager $em);
29 32
 
Please login to merge, or discard this patch.
src/Kunstmaan/AdminBundle/Helper/Menu/MenuAdaptorInterface.php 2 patches
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -20,6 +20,7 @@
 block discarded – undo
20 20
      * @param MenuItem[]    &$children The current children
21 21
      * @param MenuItem|null $parent    The parent Menu item
22 22
      * @param Request       $request   The Request
23
+     * @return void
23 24
      */
24 25
     public function adaptChildren(MenuBuilder $menu, array &$children, MenuItem $parent = null, Request $request = null);
25 26
 }
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use Kunstmaan\AdminBundle\Helper\Menu\MenuBuilder;
6 6
 use Kunstmaan\AdminBundle\Helper\Menu\MenuItem;
7
-
8 7
 use Symfony\Component\HttpFoundation\Request;
9 8
 
10 9
 /**
Please login to merge, or discard this patch.
src/Kunstmaan/AdminBundle/Helper/Menu/ModulesMenuAdaptor.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\AdminBundle\Helper\Menu\MenuAdaptorInterface;
6 6
 use Kunstmaan\AdminBundle\Helper\Menu\MenuBuilder;
7 7
 use Kunstmaan\AdminBundle\Helper\Menu\MenuItem;
8
-
9 8
 use Symfony\Component\HttpFoundation\Request;
10 9
 
11 10
 /**
Please login to merge, or discard this patch.
src/Kunstmaan/AdminBundle/Helper/Security/Acl/AclWalker.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace Kunstmaan\AdminBundle\Helper\Security\Acl;
4 4
 
5
-use Doctrine\ORM\Query;
6 5
 use Doctrine\ORM\Query\SqlWalker;
7 6
 
8 7
 /**
Please login to merge, or discard this patch.
src/Kunstmaan/AdminBundle/Helper/Security/OAuth/OAuthUserCreator.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -36,6 +36,8 @@
 block discarded – undo
36 36
 
37 37
     /**
38 38
      * {@inheritDoc}
39
+     * @param string $email
40
+     * @param string $googleId
39 41
      */
40 42
     public function getOrCreateUser($email, $googleId)
41 43
     {
Please login to merge, or discard this patch.
src/Kunstmaan/AdminBundle/Tests/Helper/DomainConfigurationTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -144,6 +144,9 @@
 block discarded – undo
144 144
         $this->assertEquals(array('nl', 'fr', 'en'), $object->getBackendLocales());
145 145
     }
146 146
 
147
+    /**
148
+     * @return ContainerInterface
149
+     */
147 150
     private function getContainer($map)
148 151
     {
149 152
         $this->container = $this->getMock('Symfony\Component\DependencyInjection\ContainerInterface');
Please login to merge, or discard this patch.
AdminBundle/Tests/Helper/Security/Acl/Permission/PermissionAdminTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -299,7 +299,7 @@
 block discarded – undo
299 299
     /**
300 300
      * Return entity mock
301 301
      *
302
-     * @return AbstractEntity
302
+     * @return \PHPUnit_Framework_MockObject_MockObject
303 303
      */
304 304
     public function getEntity()
305 305
     {
Please login to merge, or discard this patch.
src/Kunstmaan/AdminBundle/Twig/AdminPermissionsTwigExtension.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
     /**
18 18
      * Returns a list of functions to add to the existing list.
19 19
      *
20
-     * @return array An array of functions
20
+     * @return \Twig_SimpleFunction[] An array of functions
21 21
      */
22 22
     public function getFunctions()
23 23
     {
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -3,9 +3,7 @@
 block discarded – undo
3 3
 namespace Kunstmaan\AdminBundle\Twig;
4 4
 
5 5
 use Kunstmaan\AdminBundle\Helper\Security\Acl\Permission\PermissionAdmin;
6
-
7 6
 use Symfony\Component\Form\FormView;
8
-
9 7
 use Twig_Environment;
10 8
 
11 9
 /**
Please login to merge, or discard this patch.
src/Kunstmaan/AdminBundle/Twig/AdminRouteHelperTwigExtension.php 2 patches
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -2,10 +2,7 @@
 block discarded – undo
2 2
 
3 3
 namespace Kunstmaan\AdminBundle\Twig;
4 4
 
5
-use Twig_Environment;
6
-
7 5
 use Kunstmaan\AdminBundle\Helper\AdminRouteHelper;
8
-use Symfony\Component\Form\FormView;
9 6
 
10 7
 class AdminRouteHelperTwigExtension extends \Twig_Extension
11 8
 {
Please login to merge, or discard this patch.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
     /**
18 18
      * Returns a list of functions to add to the existing list.
19 19
      *
20
-     * @return array An array of functions
20
+     * @return \Twig_SimpleFunction[] An array of functions
21 21
      */
22 22
     public function getFunctions()
23 23
     {
Please login to merge, or discard this patch.