@@ -88,6 +88,9 @@ |
||
88 | 88 | return $sText; |
89 | 89 | } |
90 | 90 | |
91 | + /** |
|
92 | + * @return string |
|
93 | + */ |
|
91 | 94 | public function clearDiacritics($sText) |
92 | 95 | { |
93 | 96 | $aReplacePL = array( |
@@ -9,7 +9,7 @@ |
||
9 | 9 | /** |
10 | 10 | * Returns total number of galleries items. |
11 | 11 | * |
12 | - * @param array|string $where |
|
12 | + * @param string $where |
|
13 | 13 | * |
14 | 14 | * @return int |
15 | 15 | */ |
@@ -92,8 +92,6 @@ |
||
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 | { |
@@ -12,7 +12,7 @@ |
||
12 | 12 | * @param array $path |
13 | 13 | * @param array $pages |
14 | 14 | * |
15 | - * @return int|bool |
|
15 | + * @return integer |
|
16 | 16 | */ |
17 | 17 | public function getPageIdByPath(array $path, array $pages) |
18 | 18 | { |
@@ -41,7 +41,7 @@ |
||
41 | 41 | /** |
42 | 42 | * Returns total number of pages items. |
43 | 43 | * |
44 | - * @param array|string $where |
|
44 | + * @param string $where |
|
45 | 45 | * |
46 | 46 | * @return int |
47 | 47 | */ |
@@ -35,7 +35,7 @@ |
||
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) |
@@ -130,6 +130,9 @@ discard block |
||
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 |
||
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 |
||
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 |
||
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 |
||
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 |
||
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 |
||
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 | { |
@@ -159,7 +159,6 @@ discard block |
||
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 |
||
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) |
@@ -36,7 +36,7 @@ |
||
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 | { |