@@ -84,6 +84,9 @@ |
||
84 | 84 | $this->members->SelectedValues = $members; |
85 | 85 | } |
86 | 86 | |
87 | + /** |
|
88 | + * @param string $role |
|
89 | + */ |
|
87 | 90 | protected function getUsersWithRole($role) |
88 | 91 | { |
89 | 92 | if(is_null($this->allUsers)) |
@@ -49,6 +49,9 @@ |
||
49 | 49 | throw new Exception('unable to find script file '.$file); |
50 | 50 | } |
51 | 51 | |
52 | + /** |
|
53 | + * @param string $script |
|
54 | + */ |
|
52 | 55 | protected function runScript($connection, $script) |
53 | 56 | { |
54 | 57 | $sql = file_get_contents($script); |
@@ -22,6 +22,9 @@ |
||
22 | 22 | $this->assertEqual($user->getEmailAddress(), '[email protected]'); |
23 | 23 | } |
24 | 24 | |
25 | + /** |
|
26 | + * @param TimeTrackerUser $user2 |
|
27 | + */ |
|
25 | 28 | function assertSameUser($user1, $user2) |
26 | 29 | { |
27 | 30 | if(is_null($user1) || is_null($user2)) |
@@ -50,7 +50,6 @@ discard block |
||
50 | 50 | * "Server" request tab. |
51 | 51 | * |
52 | 52 | * @see http://www.firephp.org/Wiki/Reference/Fb |
53 | - * @param mixed $Object |
|
54 | 53 | * @return true |
55 | 54 | * @throws Exception |
56 | 55 | */ |
@@ -130,7 +129,6 @@ discard block |
||
130 | 129 | * Log object to firebug |
131 | 130 | * |
132 | 131 | * @see http://www.firephp.org/Wiki/Reference/Fb |
133 | - * @param mixed $Object |
|
134 | 132 | * @return true |
135 | 133 | * @throws Exception |
136 | 134 | */ |
@@ -150,7 +148,7 @@ discard block |
||
150 | 148 | * |
151 | 149 | * @param string $Name |
152 | 150 | * @param array $Options OPTIONAL Instructions on how to log the group |
153 | - * @return true |
|
151 | + * @return boolean |
|
154 | 152 | */ |
155 | 153 | public static function group($Name, $Options=null) { |
156 | 154 | $instance = FirePHP::getInstance(true); |
@@ -226,7 +226,7 @@ discard block |
||
226 | 226 | /** |
227 | 227 | * When the object gets serialized only include specific object members. |
228 | 228 | * |
229 | - * @return array |
|
229 | + * @return string[] |
|
230 | 230 | */ |
231 | 231 | public function __sleep() { |
232 | 232 | return array('options','objectFilters','enabled'); |
@@ -316,7 +316,7 @@ discard block |
||
316 | 316 | * |
317 | 317 | * Will throw exceptions for each php error. |
318 | 318 | * |
319 | - * @return mixed Returns a string containing the previously defined error handler (if any) |
|
319 | + * @return null|callable Returns a string containing the previously defined error handler (if any) |
|
320 | 320 | */ |
321 | 321 | public function registerErrorHandler($throwErrorExceptions=true) |
322 | 322 | { |
@@ -362,7 +362,7 @@ discard block |
||
362 | 362 | /** |
363 | 363 | * Register FirePHP as your exception handler |
364 | 364 | * |
365 | - * @return mixed Returns the name of the previously defined exception handler, |
|
365 | + * @return callable Returns the name of the previously defined exception handler, |
|
366 | 366 | * or NULL on error. |
367 | 367 | * If no previous handler was defined, NULL is also returned. |
368 | 368 | */ |
@@ -467,7 +467,7 @@ discard block |
||
467 | 467 | * |
468 | 468 | * @param string $Name |
469 | 469 | * @param array $Options OPTIONAL Instructions on how to log the group |
470 | - * @return true |
|
470 | + * @return boolean |
|
471 | 471 | * @throws Exception |
472 | 472 | */ |
473 | 473 | public function group($Name, $Options=null) { |
@@ -491,7 +491,7 @@ discard block |
||
491 | 491 | /** |
492 | 492 | * Ends a group you have started before |
493 | 493 | * |
494 | - * @return true |
|
494 | + * @return boolean |
|
495 | 495 | * @throws Exception |
496 | 496 | */ |
497 | 497 | public function groupEnd() { |
@@ -502,9 +502,9 @@ discard block |
||
502 | 502 | * Log object with label to firebug console |
503 | 503 | * |
504 | 504 | * @see FirePHP::LOG |
505 | - * @param mixes $Object |
|
505 | + * @param string $Object |
|
506 | 506 | * @param string $Label |
507 | - * @return true |
|
507 | + * @return boolean |
|
508 | 508 | * @throws Exception |
509 | 509 | */ |
510 | 510 | public function log($Object, $Label=null) { |
@@ -517,7 +517,7 @@ discard block |
||
517 | 517 | * @see FirePHP::INFO |
518 | 518 | * @param mixes $Object |
519 | 519 | * @param string $Label |
520 | - * @return true |
|
520 | + * @return boolean |
|
521 | 521 | * @throws Exception |
522 | 522 | */ |
523 | 523 | public function info($Object, $Label=null) { |
@@ -530,7 +530,7 @@ discard block |
||
530 | 530 | * @see FirePHP::WARN |
531 | 531 | * @param mixes $Object |
532 | 532 | * @param string $Label |
533 | - * @return true |
|
533 | + * @return boolean |
|
534 | 534 | * @throws Exception |
535 | 535 | */ |
536 | 536 | public function warn($Object, $Label=null) { |
@@ -543,7 +543,7 @@ discard block |
||
543 | 543 | * @see FirePHP::ERROR |
544 | 544 | * @param mixes $Object |
545 | 545 | * @param string $Label |
546 | - * @return true |
|
546 | + * @return boolean |
|
547 | 547 | * @throws Exception |
548 | 548 | */ |
549 | 549 | public function error($Object, $Label=null) { |
@@ -556,7 +556,7 @@ discard block |
||
556 | 556 | * @see FirePHP::DUMP |
557 | 557 | * @param string $Key |
558 | 558 | * @param mixed $Variable |
559 | - * @return true |
|
559 | + * @return boolean |
|
560 | 560 | * @throws Exception |
561 | 561 | */ |
562 | 562 | public function dump($Key, $Variable) { |
@@ -568,7 +568,7 @@ discard block |
||
568 | 568 | * |
569 | 569 | * @see FirePHP::TRACE |
570 | 570 | * @param string $Label |
571 | - * @return true |
|
571 | + * @return boolean |
|
572 | 572 | * @throws Exception |
573 | 573 | */ |
574 | 574 | public function trace($Label) { |
@@ -581,7 +581,7 @@ discard block |
||
581 | 581 | * @see FirePHP::TABLE |
582 | 582 | * @param string $Label |
583 | 583 | * @param string $Table |
584 | - * @return true |
|
584 | + * @return boolean |
|
585 | 585 | * @throws Exception |
586 | 586 | */ |
587 | 587 | public function table($Label, $Table) { |
@@ -607,7 +607,7 @@ discard block |
||
607 | 607 | * |
608 | 608 | * @see http://www.firephp.org/Wiki/Reference/Fb |
609 | 609 | * @param mixed $Object The variable to be logged |
610 | - * @return true Return TRUE if message was added to headers, FALSE otherwise |
|
610 | + * @return boolean Return TRUE if message was added to headers, FALSE otherwise |
|
611 | 611 | * @throws Exception |
612 | 612 | */ |
613 | 613 | public function fb($Object) { |
@@ -1005,7 +1005,6 @@ discard block |
||
1005 | 1005 | * protected and private visibility |
1006 | 1006 | * |
1007 | 1007 | * @param Object $Object The object to be encoded |
1008 | - * @param int $Depth The current traversal depth |
|
1009 | 1008 | * @return array All members of the object |
1010 | 1009 | */ |
1011 | 1010 | protected function encodeObject($Object, $ObjectDepth = 1, $ArrayDepth = 1) |
@@ -13,6 +13,10 @@ |
||
13 | 13 | * |
14 | 14 | */ |
15 | 15 | interface PHP_Shell_Extension { |
16 | + |
|
17 | + /** |
|
18 | + * @return void |
|
19 | + */ |
|
16 | 20 | public function register(); |
17 | 21 | } |
18 | 22 |
@@ -97,6 +97,8 @@ |
||
97 | 97 | * calls the setor for the :set <option> |
98 | 98 | * |
99 | 99 | * |
100 | + * @param string $key |
|
101 | + * @param string|null $value |
|
100 | 102 | */ |
101 | 103 | private function execute($key, $value) { |
102 | 104 | /* did we hit a alias (bg for backgroud) ? */ |
@@ -211,6 +211,9 @@ discard block |
||
211 | 211 | |
212 | 212 | /* Mailhide related code */ |
213 | 213 | |
214 | +/** |
|
215 | + * @param string $ky |
|
216 | + */ |
|
214 | 217 | function _recaptcha_aes_encrypt($val,$ky) { |
215 | 218 | if (! function_exists ("mcrypt_encrypt")) { |
216 | 219 | die ("To use reCAPTCHA Mailhide, you need to have the mcrypt php module installed."); |
@@ -222,6 +225,9 @@ discard block |
||
222 | 225 | } |
223 | 226 | |
224 | 227 | |
228 | +/** |
|
229 | + * @param null|string $x |
|
230 | + */ |
|
225 | 231 | function _recaptcha_mailhide_urlbase64 ($x) { |
226 | 232 | return strtr(base64_encode ($x), '+/', '-_'); |
227 | 233 | } |
@@ -196,7 +196,7 @@ discard block |
||
196 | 196 | /** |
197 | 197 | * Returns the next character from the XML document or void if at end |
198 | 198 | * @access protected |
199 | - * @return mixed |
|
199 | + * @return string|null |
|
200 | 200 | */ |
201 | 201 | function scanCharacter() { |
202 | 202 | if ($this->position < $this->length) { |
@@ -332,6 +332,7 @@ discard block |
||
332 | 332 | * parser options |
333 | 333 | * @var TSax3 instance of user front end class |
334 | 334 | * @access protected |
335 | + * @param TSax3 $htmlsax |
|
335 | 336 | */ |
336 | 337 | function __construct(& $htmlsax) { |
337 | 338 | parent::__construct($htmlsax); |
@@ -397,6 +398,7 @@ discard block |
||
397 | 398 | * parser options |
398 | 399 | * @var TSax3 instance of user front end class |
399 | 400 | * @access protected |
401 | + * @param TSax3 $htmlsax |
|
400 | 402 | */ |
401 | 403 | function __construct(& $htmlsax) { |
402 | 404 | parent::__construct($htmlsax); |
@@ -508,7 +510,7 @@ discard block |
||
508 | 510 | * if supplied argument is not an object. |
509 | 511 | * @param object handler object containing SAX callback methods |
510 | 512 | * @access public |
511 | - * @return mixed |
|
513 | + * @return boolean|null |
|
512 | 514 | */ |
513 | 515 | function set_object(&$object) { |
514 | 516 | if ( is_object($object) ) { |
@@ -546,7 +548,7 @@ discard block |
||
546 | 548 | * @param string name of parser option |
547 | 549 | * @param int (optional) 1 to switch on, 0 for off |
548 | 550 | * @access public |
549 | - * @return boolean |
|
551 | + * @return boolean|null |
|
550 | 552 | */ |
551 | 553 | function set_option($name, $value=1) { |
552 | 554 | if ( array_key_exists($name,$this->state_parser->parser_options) ) { |
@@ -568,6 +570,7 @@ discard block |
||
568 | 570 | * function myDataHander(& $parser,$data){} |
569 | 571 | * </pre> |
570 | 572 | * @param string name of method |
573 | + * @param string $data_method |
|
571 | 574 | * @access public |
572 | 575 | * @return void |
573 | 576 | * @see set_object |
@@ -591,6 +594,8 @@ discard block |
||
591 | 594 | * </pre> |
592 | 595 | * @param string name of open method |
593 | 596 | * @param string name of close method |
597 | + * @param string $opening_method |
|
598 | + * @param string $closing_method |
|
594 | 599 | * @access public |
595 | 600 | * @return void |
596 | 601 | * @see set_object |
@@ -610,6 +615,7 @@ discard block |
||
610 | 615 | * function myPIHander(& $parser,$target, $data){} |
611 | 616 | * </pre> |
612 | 617 | * @param string name of method |
618 | + * @param string $pi_method |
|
613 | 619 | * @access public |
614 | 620 | * @return void |
615 | 621 | * @see set_object |
@@ -628,6 +634,7 @@ discard block |
||
628 | 634 | * function myEscapeHander(& $parser, $data){} |
629 | 635 | * </pre> |
630 | 636 | * @param string name of method |
637 | + * @param string $escape_method |
|
631 | 638 | * @access public |
632 | 639 | * @return void |
633 | 640 | * @see set_object |
@@ -645,6 +652,7 @@ discard block |
||
645 | 652 | * function myJaspHander(& $parser, $data){} |
646 | 653 | * </pre> |
647 | 654 | * @param string name of method |
655 | + * @param string $jasp_method |
|
648 | 656 | * @access public |
649 | 657 | * @return void |
650 | 658 | * @see set_object |
@@ -684,6 +692,7 @@ discard block |
||
684 | 692 | /** |
685 | 693 | * Start parsing some XML |
686 | 694 | * @param string XML document |
695 | + * @param string $data |
|
687 | 696 | * @access public |
688 | 697 | * @return void |
689 | 698 | */ |