Completed
Push — master ( 8be84a...55d4ba )
by Guido
03:26
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   +4 added lines patch added patch discarded remove patch
@@ -42,6 +42,10 @@
 block discarded – undo
42 42
         return boolval($this->devMode);
43 43
     }
44 44
 
45
+    /**
46
+     * @param string $username
47
+     * @param string $email
48
+     */
45 49
     public function __construct($username, $email, $devMode = false)
46 50
     {
47 51
         $this->username = $username;
Please login to merge, or discard this patch.
src/Helpers/locale/Locale.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -15,6 +15,9 @@
 block discarded – undo
15 15
     public static $locales;
16 16
     public static $currentLocale;
17 17
 
18
+    /**
19
+     * @param string $locale
20
+     */
18 21
     public static function setCurrentLocale($locale)
19 22
     {
20 23
         self::$currentLocale = $locale;
Please login to merge, or discard this patch.
src/Models/User.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
     }
49 49
 
50 50
     /**
51
-     * @return mixed
51
+     * @return string
52 52
      */
53 53
     public function getEmail()
54 54
     {
@@ -154,7 +154,7 @@  discard block
 block discarded – undo
154 154
     }
155 155
 
156 156
     /**
157
-     * @return mixed
157
+     * @return boolean
158 158
      */
159 159
     public function getEnabled()
160 160
     {
@@ -162,7 +162,7 @@  discard block
 block discarded – undo
162 162
     }
163 163
 
164 164
     /**
165
-     * @param mixed $enabled
165
+     * @param boolean $enabled
166 166
      */
167 167
     public function setEnabled($enabled): void
168 168
     {
Please login to merge, or discard this patch.
src/Helpers/routes/RouteManager.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
 
35 35
 
36 36
     /**
37
-     * @return mixed
37
+     * @return false|string
38 38
      */
39 39
     public function getRoute($pathLike)
40 40
     {
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
     }
65 65
 
66 66
     /**
67
-     * @return string|bool
67
+     * @return false|string
68 68
      */
69 69
     private function defineRoute($route, $pathLikeArray)
70 70
     {
Please login to merge, or discard this patch.
src/Services/TwigService.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@  discard block
 block discarded – undo
15 15
 
16 16
     /**
17 17
      * TwigService constructor.
18
-     * @param Config $config
18
+     * @param \PHPUnit\Framework\MockObject\MockObject $config
19 19
      */
20 20
     public function __construct(Config $config)
21 21
     {
@@ -23,9 +23,9 @@  discard block
 block discarded – undo
23 23
     }
24 24
 
25 25
     /**
26
-     * @param $controllerName
27
-     * @param $controllerMethod
28
-     * @param null $path
26
+     * @param string $controllerName
27
+     * @param string $controllerMethod
28
+     * @param string $path
29 29
      * @return bool
30 30
      */
31 31
     public function needsTwig($controllerName, $controllerMethod, $path = null): bool
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
@@ -10,7 +10,7 @@  discard block
 block discarded – undo
10 10
 
11 11
     /**
12 12
      * @param $className
13
-     * @param $method
13
+     * @param string $method
14 14
      * @param $annotationName
15 15
      * @throws ReflectionException
16 16
      * @return array|boolean
@@ -23,6 +23,9 @@  discard block
 block discarded – undo
23 23
         return $this->getAnnotationFromArray($comments, $annotationName);
24 24
     }
25 25
 
26
+    /**
27
+     * @param \PHPUnit\Framework\MockObject\MockObject $httpRequest
28
+     */
26 29
     public function validateMethods(array $allowedMethods, $httpRequest): bool
27 30
     {
28 31
         if (count($allowedMethods) < 1) {
@@ -46,6 +49,9 @@  discard block
 block discarded – undo
46 49
         return [];
47 50
     }
48 51
 
52
+    /**
53
+     * @param string $string
54
+     */
49 55
     private function getArrayFromComment($string)
50 56
     {
51 57
         $filteredString = str_replace(array('(', ')', '"', ','), '', $string);
Please login to merge, or discard this patch.