Passed
Push — master ( fb1eb0...02cee8 )
by Guido
08:09
created
src/Commands/CommandInterface.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -13,5 +13,8 @@
 block discarded – undo
13 13
  */
14 14
 interface CommandInterface
15 15
 {
16
+    /**
17
+     * @return void
18
+     */
16 19
     public function execute();
17 20
 }
Please login to merge, or discard this patch.
src/Events/UserRegisteredEvent.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -42,6 +42,9 @@
 block discarded – undo
42 42
         return boolval($this->devMode);
43 43
     }
44 44
 
45
+    /**
46
+     * @param string $username
47
+     */
45 48
     public function __construct($username, $email, $devMode = false)
46 49
     {
47 50
         $this->username = $username;
Please login to merge, or discard this patch.
src/Services/ForgotPasswordService.php 1 patch
Doc Comments   +3 added lines, -3 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 $key
58
+     * @param string $key
59 59
      * @throws \Doctrine\ORM\OptimisticLockException
60 60
      * @throws \Exception
61 61
      */
@@ -77,8 +77,8 @@  discard block
 block discarded – undo
77 77
     }
78 78
 
79 79
     /**
80
-     * @param $key
81
-     * @param $newPassword
80
+     * @param string $key
81
+     * @param string $newPassword
82 82
      * @throws \Doctrine\ORM\OptimisticLockException
83 83
      */
84 84
     public function regeneratePassword($key, $newPassword)
Please login to merge, or discard this patch.
src/Helpers/annotations/AnnotationUtil.php 1 patch
Doc Comments   +7 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@  discard block
 block discarded – undo
8 8
 
9 9
     /**
10 10
      * @param $className
11
-     * @param $method
11
+     * @param string $method
12 12
      * @param $annotationName
13 13
      * @throws \ReflectionException
14 14
      * @return array|boolean
@@ -21,6 +21,9 @@  discard block
 block discarded – undo
21 21
         return $this->getAnnotationFromArray($comments, $annotationName);
22 22
     }
23 23
 
24
+    /**
25
+     * @param \PHPUnit\Framework\MockObject\MockObject $httpRequest
26
+     */
24 27
     public function validateMethods(array $allowedMethods, $httpRequest)
25 28
     {
26 29
         if (count($allowedMethods) < 1) {
@@ -44,6 +47,9 @@  discard block
 block discarded – undo
44 47
         return [];
45 48
     }
46 49
 
50
+    /**
51
+     * @param string $string
52
+     */
47 53
     private function getArrayFromComment($string)
48 54
     {
49 55
         $filteredString = str_replace(array('(', ')', '"', ','), '', $string);
Please login to merge, or discard this patch.
tests/Services/ForgotPasswordServiceTest.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -93,6 +93,9 @@  discard block
 block discarded – undo
93 93
         $forgotPassService->regeneratePassword('asd', 'newPass');
94 94
     }
95 95
 
96
+    /**
97
+     * @param ForgotPassword $forgotPass
98
+     */
96 99
     private function getMockedRepository($forgotPass)
97 100
     {
98 101
         $repository = $this->createMock(EntityRepository::class);
@@ -103,6 +106,9 @@  discard block
 block discarded – undo
103 106
         return $repository;
104 107
     }
105 108
 
109
+    /**
110
+     * @param PHPUnit\Framework\MockObject\MockObject $repo
111
+     */
106 112
     private function getMockedEntityManager($repo, $additionalChecks = [])
107 113
     {
108 114
         $gvEntityManager = $this->createMock(GvEntityManager::class);
Please login to merge, or discard this patch.
src/Helpers/security/CSRFFactory.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@
 block discarded – undo
5 5
 class CSRFFactory
6 6
 {
7 7
     /**
8
-     * @return string
8
+     * @return CSRFToken
9 9
      * @throws \Exception
10 10
      */
11 11
     public function createToken(): CSRFToken
Please login to merge, or discard this patch.
src/Helpers/security/CSRFToken.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@
 block discarded – undo
8 8
     private $token;
9 9
 
10 10
     /**
11
-     * @return mixed
11
+     * @return string
12 12
      */
13 13
     public function getTokenValue()
14 14
     {
Please login to merge, or discard this patch.
src/Cache/RedisPoolableClientCache.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -13,7 +13,6 @@  discard block
 block discarded – undo
13 13
     /**
14 14
      * PoolableClientCache constructor.
15 15
      * @param int $bufferSize
16
-     * @param string $clientClassName
17 16
      * @param array $config
18 17
      * @throws \ReflectionException
19 18
      */
@@ -43,7 +42,7 @@  discard block
 block discarded – undo
43 42
 
44 43
 
45 44
     /**
46
-     * @param $bufferSize
45
+     * @param integer $bufferSize
47 46
      * @param $clientClass
48 47
      * @param $config
49 48
      * @throws \ReflectionException
Please login to merge, or discard this patch.
src/Cache/CacheItemPool.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -250,7 +250,7 @@
 block discarded – undo
250 250
     }
251 251
 
252 252
     /**
253
-     * @param $client
253
+     * @param Client $client
254 254
      */
255 255
     private function executeBusInstructions($client)
256 256
     {
Please login to merge, or discard this patch.