mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-03-21 08:59:57 +00:00
Merge pull request #2135 from bcrowe/htofix-returndocs
Add missing return tags
This commit is contained in:
commit
8eb247528d
3 changed files with 3 additions and 0 deletions
lib/Cake/View/Helper
|
@ -68,6 +68,7 @@ class NumberHelper extends AppHelper {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Call methods from CakeNumber utility class
|
* Call methods from CakeNumber utility class
|
||||||
|
* @return mixed Whatever is returned by called method, or false on failure
|
||||||
*/
|
*/
|
||||||
public function __call($method, $params) {
|
public function __call($method, $params) {
|
||||||
return call_user_func_array(array($this->_engine, $method), $params);
|
return call_user_func_array(array($this->_engine, $method), $params);
|
||||||
|
|
|
@ -83,6 +83,7 @@ class TextHelper extends AppHelper {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Call methods from String utility class
|
* Call methods from String utility class
|
||||||
|
* @return mixed Whatever is returned by called method, or false on failure
|
||||||
*/
|
*/
|
||||||
public function __call($method, $params) {
|
public function __call($method, $params) {
|
||||||
return call_user_func_array(array($this->_engine, $method), $params);
|
return call_user_func_array(array($this->_engine, $method), $params);
|
||||||
|
|
|
@ -117,6 +117,7 @@ class TimeHelper extends AppHelper {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Call methods from CakeTime utility class
|
* Call methods from CakeTime utility class
|
||||||
|
* @return mixed Whatever is returned by called method, or false on failure
|
||||||
*/
|
*/
|
||||||
public function __call($method, $params) {
|
public function __call($method, $params) {
|
||||||
return call_user_func_array(array($this->_engine, $method), $params);
|
return call_user_func_array(array($this->_engine, $method), $params);
|
||||||
|
|
Loading…
Add table
Reference in a new issue