Commit 6e73f339 authored by Sebastian Kummer's avatar Sebastian Kummer

Merge pull request #45 in ZP/z-push from...

Merge pull request #45 in ZP/z-push from bugfix/ZP-689-stateobject.php-use-args-in-sprintf to develop

* commit 'b27439fa':
  ZP-689 Use args in sprintf. Released under the Affero GNU General Public License (AGPL) version 3.
parents 42033e4f b27439fa
...@@ -197,7 +197,7 @@ class StateObject implements Serializable { ...@@ -197,7 +197,7 @@ class StateObject implements Serializable {
return true; 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