Completed
Pull Request — master (#2737)
by
unknown
07:29
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/Controller/ResettingController.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@  discard block
 block discarded – undo
3 3
 namespace Kunstmaan\AdminBundle\Controller;
4 4
 
5 5
 use Doctrine\ORM\EntityManagerInterface;
6
-use Kunstmaan\AdminBundle\Entity\User;
7 6
 use Kunstmaan\AdminBundle\Form\NewPasswordType;
8 7
 use Kunstmaan\AdminBundle\Form\PasswordRequestType;
9 8
 use Kunstmaan\AdminBundle\Service\PasswordMailerInterface;
@@ -14,7 +13,6 @@  discard block
 block discarded – undo
14 13
 use Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface;
15 14
 use Symfony\Component\Security\Core\Authentication\Token\UsernamePasswordToken;
16 15
 use Symfony\Component\Security\Core\Encoder\UserPasswordEncoderInterface;
17
-use Symfony\Contracts\Translation\TranslatorInterface;
18 16
 
19 17
 class ResettingController extends Controller
20 18
 {
Please login to merge, or discard this patch.
src/Kunstmaan/AdminBundle/DependencyInjection/KunstmaanAdminExtension.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 FOS\UserBundle\Form\Type\ResettingFormType;
6 6
 use InvalidArgumentException;
7 7
 use Kunstmaan\AdminBundle\Helper\Menu\MenuAdaptorInterface;
8
-use Symfony\Bundle\FrameworkBundle\Routing\DelegatingLoader;
9 8
 use Symfony\Component\Config\FileLocator;
10 9
 use Symfony\Component\DependencyInjection\ContainerBuilder;
11 10
 use Symfony\Component\DependencyInjection\Definition;
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.
src/Kunstmaan/AdminBundle/Service/PasswordMailerInterface.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 PasswordMailerInterface
8 8
 {
9
+    /**
10
+     * @return void
11
+     */
9 12
     public function sendPasswordForgotMail(UserInterface  $user, string $locale = 'nl');
10 13
 }
Please login to merge, or discard this patch.