Completed
Push — master ( 02b993...3405ac )
by Mikołaj
02:38
created
src/component/Auth/Auth.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -149,7 +149,7 @@
 block discarded – undo
149 149
      *
150 150
      * @param string $email
151 151
      *
152
-     * @return array|bool
152
+     * @return string
153 153
      */
154 154
     public function getUserDataByEmail($email)
155 155
     {
Please login to merge, or discard this patch.
src/component/Auth/Session.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
      * Session constructor.
36 36
      *
37 37
      * @param PDO $pdo
38
-     * @param $prefix
38
+     * @param string $prefix
39 39
      * @param array $config
40 40
      */
41 41
     public function __construct(PDO $pdo, $prefix, array $config)
Please login to merge, or discard this patch.
src/component/Feed/RSS2Item.php 1 patch
Doc Comments   +9 added lines, -6 removed lines patch added patch discarded remove patch
@@ -130,6 +130,9 @@  discard block
 block discarded – undo
130 130
         $this->guid = $guid;
131 131
     }
132 132
 
133
+    /**
134
+     * @param string $pubDate
135
+     */
133 136
     public function setPubDate($pubDate)
134 137
     {
135 138
         $this->pubDate = $pubDate;
@@ -143,7 +146,7 @@  discard block
 block discarded – undo
143 146
     /**
144 147
      * Get item title.
145 148
      *
146
-     * @return bool|string
149
+     * @return false|string
147 150
      */
148 151
     public function getTitle()
149 152
     {
@@ -157,7 +160,7 @@  discard block
 block discarded – undo
157 160
     /**
158 161
      * Get item link.
159 162
      *
160
-     * @return bool|string
163
+     * @return false|string
161 164
      */
162 165
     public function getLink()
163 166
     {
@@ -171,7 +174,7 @@  discard block
 block discarded – undo
171 174
     /**
172 175
      * Get item description.
173 176
      *
174
-     * @return bool|string
177
+     * @return false|string
175 178
      */
176 179
     public function getDescription()
177 180
     {
@@ -187,7 +190,7 @@  discard block
 block discarded – undo
187 190
     /**
188 191
      * Get item author.
189 192
      *
190
-     * @return bool|string
193
+     * @return false|string
191 194
      */
192 195
     public function getAuthor()
193 196
     {
@@ -201,7 +204,7 @@  discard block
 block discarded – undo
201 204
     /**
202 205
      * Get item category.
203 206
      *
204
-     * @return bool|string
207
+     * @return false|string
205 208
      */
206 209
     public function getCategory()
207 210
     {
@@ -215,7 +218,7 @@  discard block
 block discarded – undo
215 218
     /**
216 219
      * Get item pub date.
217 220
      *
218
-     * @return bool|string
221
+     * @return false|string
219 222
      */
220 223
     public function getPubDate()
221 224
     {
Please login to merge, or discard this patch.
src/component/Hooks/Filter.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -159,7 +159,6 @@  discard block
 block discarded – undo
159 159
      *
160 160
      * @param string $tag     The name of the filter hook.
161 161
      * @param mixed  $value   The value on which the filters hooked to <tt>$tag</tt> are applied on.
162
-     * @param mixed  $var,... Additional variables passed to the functions hooked to <tt>$tag</tt>.
163 162
      *
164 163
      * @return mixed The filtered value after all hooked functions are applied to it.
165 164
      */
@@ -313,7 +312,7 @@  discard block
 block discarded – undo
313 312
      * @param int|bool $priority Used in counting how many hooks were applied. If === false and
314 313
      *                           $function is an object reference, we return the unique id only if it already has one, false otherwise.
315 314
      *
316
-     * @return string|bool Unique ID for usage as array key or false if $priority === false and
315
+     * @return string|false Unique ID for usage as array key or false if $priority === false and
317 316
      *                     $function is an object reference, and it does not already have a unique id.
318 317
      */
319 318
     private static function buildUniqueID($tag, $function, $priority)
Please login to merge, or discard this patch.
src/component/Html/Head.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
      *
37 37
      * @param bool $return
38 38
      * @param int $nesting
39
-     * @return string|array|null
39
+     * @return null|string
40 40
      */
41 41
     public function make($return = false, $nesting = 1)
42 42
     {
Please login to merge, or discard this patch.
src/component/Html/Navigation.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -109,7 +109,7 @@  discard block
 block discarded – undo
109 109
     /**
110 110
      * Set active elements slugs, use to mark current items.
111 111
      *
112
-     * @param array|string $currents
112
+     * @param string $currents
113 113
      */
114 114
     public function setCurrent($currents)
115 115
     {
@@ -183,7 +183,7 @@  discard block
 block discarded – undo
183 183
     }
184 184
 
185 185
     /**
186
-     * @return mixed
186
+     * @return integer
187 187
      */
188 188
     public function getNesting()
189 189
     {
@@ -335,7 +335,7 @@  discard block
 block discarded – undo
335 335
      *
336 336
      * @author J. Bruni - original author
337 337
      *
338
-     * @return string|bool
338
+     * @return false|string
339 339
      */
340 340
     public function create()
341 341
     {
Please login to merge, or discard this patch.
src/component/Html/Paging.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -58,6 +58,9 @@  discard block
 block discarded – undo
58 58
         return $this->info;
59 59
     }
60 60
 
61
+    /**
62
+     * @param string $path
63
+     */
61 64
     public function setPath($path)
62 65
     {
63 66
         $this->path = $path;
@@ -81,6 +84,9 @@  discard block
 block discarded – undo
81 84
         return $this->classes;
82 85
     }
83 86
 
87
+    /**
88
+     * @param integer $nesting
89
+     */
84 90
     public function setNesting($nesting)
85 91
     {
86 92
         $this->nesting = $nesting;
Please login to merge, or discard this patch.
src/component/Plugins/Hooks.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
      * Hooks constructor.
14 14
      *
15 15
      * @param array $plugins
16
-     * @param $path
16
+     * @param string $path
17 17
      */
18 18
     public function __construct(array $plugins, $path)
19 19
     {
Please login to merge, or discard this patch.
src/framework/View/AdminView.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -89,7 +89,7 @@
 block discarded – undo
89 89
     /**
90 90
      * @param int $nesting
91 91
      * @param array $classes
92
-     * @return bool|string
92
+     * @return false|string
93 93
      */
94 94
     public function breadcrumb($nesting = 0, $classes = [])
95 95
     {
Please login to merge, or discard this patch.