Commit 2f00dce1 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.

(cherry picked from commit 6e73f339)
parent d50d07e9
...@@ -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)));
} }
/** /**
...@@ -265,4 +265,4 @@ class StateObject implements Serializable { ...@@ -265,4 +265,4 @@ class StateObject implements Serializable {
} }
} }
?> ?>
\ No newline at end of file
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