Completed
Pull Request — 5.6 (#2833)
by Oskar
26:33 queued 11:27
created
src/Kunstmaan/NodeBundle/Helper/Menu/PageMenuAdaptor.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -173,6 +173,7 @@
 block discarded – undo
173 173
      * Get an array with the id's off all nodes in the tree that should be
174 174
      * expanded.
175 175
      *
176
+     * @param Request $request
176 177
      * @return array
177 178
      */
178 179
     private function getActiveNodeIds($request)
Please login to merge, or discard this patch.
src/Kunstmaan/NodeSearchBundle/Configuration/NodePagesConfiguration.php 1 patch
Doc Comments   +4 added lines, -3 removed lines patch added patch discarded remove patch
@@ -472,7 +472,7 @@  discard block
 block discarded – undo
472 472
     /**
473 473
      * Add type to the index document
474 474
      *
475
-     * @param object $page
475
+     * @param HasNodeInterface $page
476 476
      * @param array  $doc
477 477
      *
478 478
      * @return array
@@ -663,6 +663,7 @@  discard block
 block discarded – undo
663 663
     /**
664 664
      * Removes all HTML markup & decode HTML entities
665 665
      *
666
+     * @param string $text
666 667
      * @return string
667 668
      */
668 669
     protected function removeHtml($text)
@@ -693,7 +694,7 @@  discard block
 block discarded – undo
693 694
     /**
694 695
      * Fetch ACL permissions for the specified entity
695 696
      *
696
-     * @param object $object
697
+     * @param Node $object
697 698
      *
698 699
      * @return array
699 700
      */
@@ -727,7 +728,7 @@  discard block
 block discarded – undo
727 728
     }
728 729
 
729 730
     /**
730
-     * @return mixed
731
+     * @return HasNodeInterface
731 732
      */
732 733
     private function getNodeRefPage(NodeVersion $publicNodeVersion)
733 734
     {
Please login to merge, or discard this patch.
src/Kunstmaan/AdminBundle/EventListener/AdminLocaleListener.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
     }
56 56
 
57 57
     /**
58
-     * @param GetResponseEvent|ResponseEvent $event
58
+     * @param \PHPUnit\Framework\MockObject\MockObject $event
59 59
      */
60 60
     public function onKernelRequest($event)
61 61
     {
@@ -82,6 +82,7 @@  discard block
 block discarded – undo
82 82
 
83 83
     /**
84 84
      * @param TokenInterface $token
85
+     * @param string $providerKey
85 86
      *
86 87
      * @return bool
87 88
      */
Please login to merge, or discard this patch.
src/Kunstmaan/AdminBundle/Helper/Security/OAuth/OAuthUserCreator.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -33,6 +33,9 @@
 block discarded – undo
33 33
         $this->userFinder = $userFinder;
34 34
     }
35 35
 
36
+    /**
37
+     * @param string $email
38
+     */
36 39
     public function getOrCreateUser($email, $googleId)
37 40
     {
38 41
         if ($this->isConfiguredDomain($email)) {
Please login to merge, or discard this patch.
src/Kunstmaan/AdminBundle/Helper/Security/OAuth/OAuthUserFinder.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -18,6 +18,10 @@
 block discarded – undo
18 18
         $this->userClass = $userClass;
19 19
     }
20 20
 
21
+    /**
22
+     * @param string $email
23
+     * @param integer $googleId
24
+     */
21 25
     public function findUserByGoogleSignInData($email, $googleId)
22 26
     {
23 27
         //Check if already logged in before via Google auth
Please login to merge, or discard this patch.