ZP-689 Use args in sprintf. Released under the Affero GNU General Public License (AGPL) version 3.

parent 80c61fc1
......@@ -197,7 +197,7 @@ class StateObject implements Serializable {
return true;
}
throw new FatalNotImplementedException(sprintf("StateObject->__call('%s'): not implemented. op: {$operator} args:". count($arguments), $name));
throw new FatalNotImplementedException(sprintf("StateObject->__call('%s'): not implemented. op: {%s} args: %d", $name, $operator, count($arguments)));
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment