Модули c namespace

This commit is contained in:
CORP\phedor 2018-03-27 17:31:49 +03:00
parent 0f4b2fb722
commit e9f7c23990
11 changed files with 92 additions and 80 deletions

View file

@ -88,7 +88,7 @@ class __compose {
class Functions {
static function partial() {
static function partial($_rest) {
$closure = new __partial(func_get_args());
return array($closure, 'apply');
}
@ -101,7 +101,7 @@ class Functions {
*
* @return array[int]mixed
*/
static function compose() {
static function compose($_rest) {
$closure = new __compose(func_get_args());
return array($closure, 'apply');
}