From 8efae50ba454bdcd50509459eb0c9f66362ccc2f Mon Sep 17 00:00:00 2001 From: ZhiFeng Hu Date: Fri, 24 Jul 2015 09:06:32 +0800 Subject: [PATCH] Strict check in Operation.php --- src/Qiniu/Processing/Operation.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Qiniu/Processing/Operation.php b/src/Qiniu/Processing/Operation.php index c5853205..203499ef 100644 --- a/src/Qiniu/Processing/Operation.php +++ b/src/Qiniu/Processing/Operation.php @@ -38,7 +38,7 @@ public function execute($key, $fops) if (!$resp->ok()) { return array(null, new Error($url, $resp)); } - if ($resp->json() != null) { + if ($resp->json() !== null) { return array($resp->json(), null); } return array($resp->body, null);