@@ -122,6 +122,7 @@ discard block |
||
122 | 122 | |
123 | 123 | /** |
124 | 124 | * @throw Exception |
125 | + * @param string $message |
|
125 | 126 | */ |
126 | 127 | public function error($message) |
127 | 128 | { |
@@ -379,6 +380,10 @@ discard block |
||
379 | 380 | * |
380 | 381 | * @return array|object |
381 | 382 | */ |
383 | + |
|
384 | + /** |
|
385 | + * @param string $type |
|
386 | + */ |
|
382 | 387 | protected function processAnalyzers($type, $value) |
383 | 388 | { |
384 | 389 | if (isset($this->analyzers[$type])) { |
@@ -515,6 +520,10 @@ discard block |
||
515 | 520 | exit; |
516 | 521 | } |
517 | 522 | |
523 | + /** |
|
524 | + * @param string $code |
|
525 | + * @param string $message |
|
526 | + */ |
|
518 | 527 | public static function response_status($code, $message) |
519 | 528 | { |
520 | 529 | if (function_exists('http_response_code')) { |
@@ -525,6 +534,9 @@ discard block |
||
525 | 534 | } |
526 | 535 | } |
527 | 536 | |
537 | + /** |
|
538 | + * @param string $string |
|
539 | + */ |
|
528 | 540 | public static function hash($string) |
529 | 541 | { |
530 | 542 | return md5($string); |