We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1de7a5c commit 73d68e5Copy full SHA for 73d68e5
src/Qiniu/Processing/PersistentFop.php
@@ -73,10 +73,9 @@ public function __call($method, $args)
73
{
74
75
if (!in_array($method, self::$pfops)) {
76
- throw new \InvalidArgumentException("pfop {$method} isn't support");
+ throw new \InvalidArgumentException("pfop {$method} isn't supported");
77
}
78
$key = $args[0];
79
- $cmd = $method;
80
$mod = null;
81
if (count($args)>1) {
82
$mod = $args[1];
@@ -97,7 +96,7 @@ public function __call($method, $args)
97
96
$target_key = $args[4];
98
99
100
- $pfop = Operation::buildOp($cmd, $mod, $options);
+ $pfop = Operation::buildOp($method, $mod, $options);
101
if ($target_bucket != null) {
102
$pfop = Operation::saveas($pfop, $target_bucket, $target_key);
103
0 commit comments