mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 11:06:15 +00:00
Add missing return tags
This commit is contained in:
parent
d4ecb7d185
commit
f9435aff27
3 changed files with 3 additions and 0 deletions
|
@ -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