@@ -44,7 +44,7 @@ |
||
| 44 | 44 | /** |
| 45 | 45 | * @param string $string |
| 46 | 46 | * @param int $case |
| 47 | - * @return mixed|string |
|
| 47 | + * @return string |
|
| 48 | 48 | */ |
| 49 | 49 | public function morphy($string, $case = 1) { |
| 50 | 50 | |
@@ -355,7 +355,7 @@ discard block |
||
| 355 | 355 | } |
| 356 | 356 | |
| 357 | 357 | /** |
| 358 | - * @return bool |
|
| 358 | + * @return false|null |
|
| 359 | 359 | */ |
| 360 | 360 | public static function _buildSearchMeta() { |
| 361 | 361 | |
@@ -378,7 +378,7 @@ discard block |
||
| 378 | 378 | } |
| 379 | 379 | |
| 380 | 380 | /** |
| 381 | - * @return bool |
|
| 381 | + * @return false|null |
|
| 382 | 382 | */ |
| 383 | 383 | public static function _buildGalleryMeta() { |
| 384 | 384 | |
@@ -402,7 +402,7 @@ discard block |
||
| 402 | 402 | |
| 403 | 403 | /** |
| 404 | 404 | * @param array $data |
| 405 | - * @return bool |
|
| 405 | + * @return false|null |
|
| 406 | 406 | */ |
| 407 | 407 | public static function _buildGalleryCategoryMeta($data) { |
| 408 | 408 | |
@@ -427,7 +427,7 @@ discard block |
||
| 427 | 427 | |
| 428 | 428 | /** |
| 429 | 429 | * @param array $data |
| 430 | - * @return bool |
|
| 430 | + * @return false|null |
|
| 431 | 431 | */ |
| 432 | 432 | public static function _buildGalleryAlbumMeta($data) { |
| 433 | 433 | |
@@ -455,7 +455,7 @@ discard block |
||
| 455 | 455 | |
| 456 | 456 | /** |
| 457 | 457 | * @param array $data |
| 458 | - * @return bool |
|
| 458 | + * @return false|null |
|
| 459 | 459 | */ |
| 460 | 460 | public static function _buildActionSearchMeta($data) { |
| 461 | 461 | |
@@ -333,6 +333,9 @@ |
||
| 333 | 333 | * @float $y |
| 334 | 334 | * @float $width |
| 335 | 335 | * @float $height |
| 336 | + * @param integer $y |
|
| 337 | + * @param integer $width |
|
| 338 | + * @param integer $height |
|
| 336 | 339 | * @return void |
| 337 | 340 | */ |
| 338 | 341 | protected function drawTextB($text, $x, $y, $width, $height) { |
@@ -262,6 +262,8 @@ |
||
| 262 | 262 | * @float $y |
| 263 | 263 | * @float $width |
| 264 | 264 | * @float $height |
| 265 | + * @param integer $x |
|
| 266 | + * @param integer $y |
|
| 265 | 267 | * @return void |
| 266 | 268 | */ |
| 267 | 269 | protected function drawTextUnderLine($text, $x, $y) { |
@@ -228,6 +228,10 @@ |
||
| 228 | 228 | |
| 229 | 229 | } |
| 230 | 230 | |
| 231 | + /** |
|
| 232 | + * @param string $result |
|
| 233 | + * @param string $description |
|
| 234 | + */ |
|
| 231 | 235 | private function printAnswer($result, $description) { |
| 232 | 236 | print 'WMI_RESULT=' . strtoupper($result) . '&'; |
| 233 | 237 | print 'WMI_DESCRIPTION=' . urlencode($description); |
@@ -173,6 +173,9 @@ discard block |
||
| 173 | 173 | return ($callbackParams['md5'] == $md5); |
| 174 | 174 | } |
| 175 | 175 | |
| 176 | + /** |
|
| 177 | + * @param integer $code |
|
| 178 | + */ |
|
| 176 | 179 | public function sendAviso($callbackParams, $code) { |
| 177 | 180 | header("Content-type: text/xml; charset=utf-8"); |
| 178 | 181 | $xml = '<?xml version="1.0" encoding="UTF-8"?> |
@@ -180,6 +183,9 @@ discard block |
||
| 180 | 183 | echo $xml; |
| 181 | 184 | } |
| 182 | 185 | |
| 186 | + /** |
|
| 187 | + * @param integer|null $code |
|
| 188 | + */ |
|
| 183 | 189 | public function sendCode($callbackParams, $code) { |
| 184 | 190 | header("Content-type: text/xml; charset=utf-8"); |
| 185 | 191 | $xml = '<?xml version="1.0" encoding="UTF-8"?> |
@@ -27,7 +27,7 @@ |
||
| 27 | 27 | |
| 28 | 28 | /** |
| 29 | 29 | * @param string $query |
| 30 | - * @return mixed |
|
| 30 | + * @return string|null |
|
| 31 | 31 | */ |
| 32 | 32 | public function filter($query) { |
| 33 | 33 | |
@@ -65,7 +65,7 @@ |
||
| 65 | 65 | /** |
| 66 | 66 | * Unpacking the archive to ./templates/ folder |
| 67 | 67 | * @param string $unpackPath (optional) path to templates folder (default ./templates) |
| 68 | - * @return string template name |
|
| 68 | + * @return boolean template name |
|
| 69 | 69 | * @throws \Exception |
| 70 | 70 | */ |
| 71 | 71 | public function unpack($unpackPath = TEMPLATES_PATH) { |
@@ -308,7 +308,7 @@ |
||
| 308 | 308 | } |
| 309 | 309 | |
| 310 | 310 | /** |
| 311 | - * @param $sqlString |
|
| 311 | + * @param string $sqlString |
|
| 312 | 312 | */ |
| 313 | 313 | public function query_from_file($sqlString) { |
| 314 | 314 | |