Completed
Pull Request — master (#2737)
by Jeroen
17:30 queued 02:36
created
src/Kunstmaan/AdminListBundle/Service/EntityVersionLockService.php 1 patch
Doc Comments   +5 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,6 +27,10 @@  discard block
 block discarded – undo
27 27
      */
28 28
     private $lockEnabled;
29 29
 
30
+    /**
31
+     * @param integer $threshold
32
+     * @param boolean $lockEnabled
33
+     */
30 34
     public function __construct(ObjectManager $em, $threshold, $lockEnabled)
31 35
     {
32 36
         $this->setObjectManager($em);
@@ -162,7 +166,7 @@  discard block
 block discarded – undo
162 166
      * @param LockableEntity $entity
163 167
      * @param User           $userToExclude
164 168
      *
165
-     * @return EntityVersionLock[]
169
+     * @return \Kunstmaan\AdminListBundle\Repository\EntityVersionLock[]
166 170
      */
167 171
     protected function getEntityVersionLocksByLockableEntity(LockableEntity $entity, /*\Kunstmaan\AdminBundle\Entity\UserInterface*/ $userToExclude = null)
168 172
     {
Please login to merge, or discard this patch.
src/Kunstmaan/AdminBundle/Entity/BaseUser.php 1 patch
Doc Comments   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -221,6 +221,9 @@  discard block
 block discarded – undo
221 221
         return $this->passwordChanged;
222 222
     }
223 223
 
224
+    /**
225
+     * @param boolean $passwordChanged
226
+     */
224 227
     public function setPasswordChanged($passwordChanged)
225 228
     {
226 229
         $this->passwordChanged = $passwordChanged;
@@ -237,7 +240,7 @@  discard block
 block discarded – undo
237 240
     }
238 241
 
239 242
     /**
240
-     * @param mixed $googleId
243
+     * @param string $googleId
241 244
      */
242 245
     public function setGoogleId($googleId)
243 246
     {
@@ -330,7 +333,7 @@  discard block
 block discarded – undo
330 333
     }
331 334
 
332 335
     /**
333
-     * @return array
336
+     * @return string[]
334 337
      */
335 338
     public function getRoles()
336 339
     {
Please login to merge, or discard this patch.
AdminBundle/Service/AuthenticationMailer/AuthenticationMailerInterface.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -6,5 +6,8 @@
 block discarded – undo
6 6
 
7 7
 interface AuthenticationMailerInterface
8 8
 {
9
+    /**
10
+     * @return void
11
+     */
9 12
     public function sendPasswordResetEmail(UserInterface $user, string $locale);
10 13
 }
Please login to merge, or discard this patch.
src/Kunstmaan/AdminBundle/Service/PasswordResetService.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -120,7 +120,7 @@
 block discarded – undo
120 120
     }
121 121
 
122 122
     /**
123
-     * @param object $event
123
+     * @param ChangePasswordSuccessEvent $event
124 124
      * @param string $eventName
125 125
      *
126 126
      * @return object
Please login to merge, or discard this patch.
src/Kunstmaan/AdminBundle/Service/UserManager.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -98,6 +98,9 @@  discard block
 block discarded – undo
98 98
         return $user;
99 99
     }
100 100
 
101
+    /**
102
+     * @param string $usernameOrEmail
103
+     */
101 104
     public function findUserByUsernameOrEmail($usernameOrEmail)
102 105
     {
103 106
         if (preg_match('/^.+\@\S+\.\S+$/', $usernameOrEmail)) {
@@ -125,6 +128,9 @@  discard block
 block discarded – undo
125 128
         return $this->findUserBy(['username' => $username]);
126 129
     }
127 130
 
131
+    /**
132
+     * @param string $token
133
+     */
128 134
     public function findUserByConfirmationToken($token)
129 135
     {
130 136
         return $this->findUserBy(['confirmationToken' => $token]);
Please login to merge, or discard this patch.