Completed
Push — master ( 18f460...9e5c66 )
by Mikołaj
02:35
created
src/component/Auth/Auth.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -137,7 +137,7 @@
 block discarded – undo
137 137
      *
138 138
      * @param string $email
139 139
      *
140
-     * @return array
140
+     * @return string
141 141
      */
142 142
     public function getUserDataByEmail($email)
143 143
     {
Please login to merge, or discard this patch.
src/component/Auth/Session.php 1 patch
Doc Comments   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,6 +10,9 @@  discard block
 block discarded – undo
10 10
 
11 11
     private $cookieName = 'auth';
12 12
 
13
+    /**
14
+     * @param string $prefix
15
+     */
13 16
     public function __construct($pdo, $prefix, $config)
14 17
     {
15 18
         $this->pdo = $pdo;
@@ -83,7 +86,6 @@  discard block
 block discarded – undo
83 86
     /**
84 87
      * Destroy session.
85 88
      *
86
-     * @param string $hash Cookie hash
87 89
      *
88 90
      * @return bool
89 91
      */
Please login to merge, or discard this patch.
src/component/ErrorHandler/Handler/UserFriendlyHandler.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -38,6 +38,7 @@
 block discarded – undo
38 38
     /**
39 39
      * Displays an error message in html.
40 40
      *
41
+     * @param integer $code
41 42
      * @return string
42 43
      */
43 44
     public function displayDefaultMessage($code, $message, $text)
Please login to merge, or discard this patch.
src/component/ErrorHandler/Run.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -80,7 +80,7 @@
 block discarded – undo
80 80
     /**
81 81
      * Handle exceptions.
82 82
      *
83
-     * @param Exception $e
83
+     * @param \ErrorException $e
84 84
      */
85 85
     public function handleException($e)
86 86
     {
Please login to merge, or discard this patch.
src/component/Feed/RSS2Generator.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -181,7 +181,7 @@  discard block
 block discarded – undo
181 181
      *
182 182
      * @example en-us
183 183
      *
184
-     * @param string $laguage
184
+     * @param string $language
185 185
      */
186 186
     public function setLanguage($language)
187 187
     {
@@ -461,6 +461,9 @@  discard block
 block discarded – undo
461 461
         $this->skipDays = $skipDays;
462 462
     }
463 463
 
464
+    /**
465
+     * @param string[] $items
466
+     */
464 467
     public function setItems($items)
465 468
     {
466 469
         $this->items = $items;
Please login to merge, or discard this patch.
src/component/Feed/RSS2Item.php 1 patch
Doc Comments   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -143,7 +143,7 @@  discard block
 block discarded – undo
143 143
     /**
144 144
      * Get item title.
145 145
      *
146
-     * @return bool|string
146
+     * @return false|string
147 147
      */
148 148
     public function getTitle()
149 149
     {
@@ -157,7 +157,7 @@  discard block
 block discarded – undo
157 157
     /**
158 158
      * Get item link.
159 159
      *
160
-     * @return bool|string
160
+     * @return false|string
161 161
      */
162 162
     public function getLink()
163 163
     {
@@ -171,7 +171,7 @@  discard block
 block discarded – undo
171 171
     /**
172 172
      * Get item description.
173 173
      *
174
-     * @return bool|string
174
+     * @return false|string
175 175
      */
176 176
     public function getDescription()
177 177
     {
@@ -187,7 +187,7 @@  discard block
 block discarded – undo
187 187
     /**
188 188
      * Get item author.
189 189
      *
190
-     * @return bool|string
190
+     * @return false|string
191 191
      */
192 192
     public function getAuthor()
193 193
     {
@@ -201,7 +201,7 @@  discard block
 block discarded – undo
201 201
     /**
202 202
      * Get item category.
203 203
      *
204
-     * @return bool|string
204
+     * @return false|string
205 205
      */
206 206
     public function getCategory()
207 207
     {
@@ -215,7 +215,7 @@  discard block
 block discarded – undo
215 215
     /**
216 216
      * Get item pub date.
217 217
      *
218
-     * @return bool|string
218
+     * @return false|string
219 219
      */
220 220
     public function getPubDate()
221 221
     {
Please login to merge, or discard this patch.
src/component/Helpers/Pagination/Loop.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -125,7 +125,6 @@
 block discarded – undo
125 125
      * @param array $classes
126 126
      *                         ul
127 127
      *                         current
128
-     * @param int   $navNumber
129 128
      *
130 129
      * @return string
131 130
      */
Please login to merge, or discard this patch.
src/component/Hooks/Action.php 1 patch
Doc Comments   -2 removed lines patch added patch discarded remove patch
@@ -92,8 +92,6 @@
 block discarded – undo
92 92
      * @since 0.1
93 93
      *
94 94
      * @param string $tag     The name of the action to be executed.
95
-     * @param mixed  $arg,... Optional additional arguments which are passed on to the functions
96
-     *                        hooked to the action.
97 95
      */
98 96
     public static function dispatch($tag, $arg = '')
99 97
     {
Please login to merge, or discard this patch.
src/component/Hooks/Filter.php 1 patch
Doc Comments   -2 removed lines patch added patch discarded remove patch
@@ -71,7 +71,6 @@  discard block
 block discarded – undo
71 71
      * @param string   $tag              The filter hook to which the function to be removed is hooked.
72 72
      * @param callback $functionToRemove The name of the function which should be removed.
73 73
      * @param int      $priority         optional. The priority of the function (default: 10).
74
-     * @param int      $accepted_args    optional. The number of arguments the function accepts (default: 1).
75 74
      *
76 75
      * @return bool Whether the function existed before it was removed.
77 76
      */
@@ -160,7 +159,6 @@  discard block
 block discarded – undo
160 159
      *
161 160
      * @param string $tag     The name of the filter hook.
162 161
      * @param mixed  $value   The value on which the filters hooked to <tt>$tag</tt> are applied on.
163
-     * @param mixed  $var,... Additional variables passed to the functions hooked to <tt>$tag</tt>.
164 162
      *
165 163
      * @return mixed The filtered value after all hooked functions are applied to it.
166 164
      */
Please login to merge, or discard this patch.