From 1690310653b746ec38007545fc1cd4c8762356a6 Mon Sep 17 00:00:00 2001 From: Ma Bingyao Date: Thu, 22 Dec 2016 12:51:09 +0800 Subject: [PATCH] Fixed #33 --- src/Hprose/Future/functions.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Hprose/Future/functions.php b/src/Hprose/Future/functions.php index 64ba7e6a..cbfab4a3 100644 --- a/src/Hprose/Future/functions.php +++ b/src/Hprose/Future/functions.php @@ -14,7 +14,7 @@ * * * some helper functions for php 5.3+ * * * - * LastModified: Dec 9, 2016 * + * LastModified: Dec 22, 2016 * * Author: Ma Bingyao * * * \**********************************************************/ @@ -158,7 +158,7 @@ function($array) { function($reason) use ($index, &$reasons, &$n, $reject) { $reasons[$index] = $reason; if (--$n === 0) { - $reject(); + $reject(); } } );