Skip to content

Commit

Permalink
Merge pull request #138 from netroby/feature/strict-check-operation
Browse files Browse the repository at this point in the history
Strict check in Operation.php
  • Loading branch information
longbai committed Jul 24, 2015
2 parents 3dadb2b + 8efae50 commit a7c996c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Qiniu/Processing/Operation.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit a7c996c

Please sign in to comment.