@@ -451,7 +451,7 @@ discard block |
||
| 451 | 451 | * |
| 452 | 452 | * This is just a dummy method that all drivers will override. |
| 453 | 453 | * |
| 454 | - * @return mixed |
|
| 454 | + * @return boolean |
|
| 455 | 455 | */ |
| 456 | 456 | public function db_connect() |
| 457 | 457 | { |
@@ -463,7 +463,7 @@ discard block |
||
| 463 | 463 | /** |
| 464 | 464 | * Persistent database connection |
| 465 | 465 | * |
| 466 | - * @return mixed |
|
| 466 | + * @return boolean |
|
| 467 | 467 | */ |
| 468 | 468 | public function db_pconnect() |
| 469 | 469 | { |
@@ -520,6 +520,7 @@ discard block |
||
| 520 | 520 | * Set client character set |
| 521 | 521 | * |
| 522 | 522 | * @param string |
| 523 | + * @param string $charset |
|
| 523 | 524 | * @return bool |
| 524 | 525 | */ |
| 525 | 526 | public function db_set_charset($charset) |
@@ -780,6 +781,7 @@ discard block |
||
| 780 | 781 | * not require all the features of the main query() function. |
| 781 | 782 | * |
| 782 | 783 | * @param string the sql query |
| 784 | + * @param string $sql |
|
| 783 | 785 | * @return mixed |
| 784 | 786 | */ |
| 785 | 787 | public function simple_query($sql) |
@@ -980,6 +982,7 @@ discard block |
||
| 980 | 982 | * |
| 981 | 983 | * @param string the sql statement |
| 982 | 984 | * @param array an array of bind data |
| 985 | + * @param string $sql |
|
| 983 | 986 | * @return string |
| 984 | 987 | */ |
| 985 | 988 | public function compile_binds($sql, $binds) |
@@ -1180,6 +1183,7 @@ discard block |
||
| 1180 | 1183 | * Platform-dependant string escape |
| 1181 | 1184 | * |
| 1182 | 1185 | * @param string |
| 1186 | + * @param string $str |
|
| 1183 | 1187 | * @return string |
| 1184 | 1188 | */ |
| 1185 | 1189 | protected function _escape_str($str) |
@@ -1473,6 +1477,7 @@ discard block |
||
| 1473 | 1477 | * @param string the table name |
| 1474 | 1478 | * @param array the insert keys |
| 1475 | 1479 | * @param array the insert values |
| 1480 | + * @param string $table |
|
| 1476 | 1481 | * @return string |
| 1477 | 1482 | */ |
| 1478 | 1483 | protected function _insert($table, $keys, $values) |
@@ -242,7 +242,7 @@ discard block |
||
| 242 | 242 | /** |
| 243 | 243 | * Logs a user out and removes all session information. |
| 244 | 244 | * |
| 245 | - * @return mixed |
|
| 245 | + * @return false|null |
|
| 246 | 246 | */ |
| 247 | 247 | public function logout() |
| 248 | 248 | { |
@@ -608,7 +608,7 @@ discard block |
||
| 608 | 608 | * the passed in $email. |
| 609 | 609 | * |
| 610 | 610 | * @param $email |
| 611 | - * @return mixed |
|
| 611 | + * @return boolean |
|
| 612 | 612 | */ |
| 613 | 613 | public function remindUser($email) |
| 614 | 614 | { |
@@ -653,7 +653,7 @@ discard block |
||
| 653 | 653 | * @param $credentials |
| 654 | 654 | * @param $password |
| 655 | 655 | * @param $passConfirm |
| 656 | - * @return mixed |
|
| 656 | + * @return boolean |
|
| 657 | 657 | */ |
| 658 | 658 | public function resetPassword($credentials, $password, $passConfirm) |
| 659 | 659 | { |
@@ -751,7 +751,7 @@ discard block |
||
| 751 | 751 | * |
| 752 | 752 | * @param $model |
| 753 | 753 | * @param bool $allow_any_parent |
| 754 | - * @return mixed |
|
| 754 | + * @return LocalAuthentication |
|
| 755 | 755 | */ |
| 756 | 756 | public function useModel($model, $allow_any_parent=false) |
| 757 | 757 | { |
@@ -253,7 +253,7 @@ |
||
| 253 | 253 | * string with letters and numbers. |
| 254 | 254 | * |
| 255 | 255 | * @param $user |
| 256 | - * @return mixed |
|
| 256 | + * @return string |
|
| 257 | 257 | */ |
| 258 | 258 | public function generateRememberToken($user) |
| 259 | 259 | { |
@@ -66,7 +66,7 @@ discard block |
||
| 66 | 66 | /** |
| 67 | 67 | * Stores our scheduled string and actual task. |
| 68 | 68 | * |
| 69 | - * @param $schedule |
|
| 69 | + * @param string $schedule |
|
| 70 | 70 | * @param callable $task |
| 71 | 71 | */ |
| 72 | 72 | public function __construct($schedule, $task) |
@@ -90,7 +90,7 @@ discard block |
||
| 90 | 90 | * |
| 91 | 91 | * @param int|'now' $current_time |
| 92 | 92 | * |
| 93 | - * @return timestamp|null |
|
| 93 | + * @return integer|null |
|
| 94 | 94 | */ |
| 95 | 95 | public function nextRunDate($current_time='now') |
| 96 | 96 | { |
@@ -121,7 +121,7 @@ discard block |
||
| 121 | 121 | * |
| 122 | 122 | * @param int|'now' $current_time |
| 123 | 123 | * |
| 124 | - * @return timestamp|null |
|
| 124 | + * @return integer|null |
|
| 125 | 125 | */ |
| 126 | 126 | public function previousRunDate($current_time='now') |
| 127 | 127 | { |
@@ -266,8 +266,8 @@ discard block |
||
| 266 | 266 | * 'every 5 minutes', every 3 days, etc. |
| 267 | 267 | * |
| 268 | 268 | * @param $schedule |
| 269 | - * @param $type |
|
| 270 | - * @return float|int|null |
|
| 269 | + * @param string $type |
|
| 270 | + * @return integer|null |
|
| 271 | 271 | */ |
| 272 | 272 | public function findDateInterval($schedule, $type, $current_time='now') |
| 273 | 273 | { |