aboutsummaryrefslogtreecommitdiffstats
path: root/AssertionChecker
diff options
context:
space:
mode:
authorIvan Enderlin <ivan.enderlin@hoa-project.net>2014-04-02 14:17:47 +0200
committerIvan Enderlin <ivan.enderlin@hoa-project.net>2014-04-02 14:17:47 +0200
commit8fb22c76ae7bb72125a5e8414c82b9fcde480f37 (patch)
treeb97176be4db04c435e786f23d8777fae3338e04d /AssertionChecker
parentbca8de0d382c81c762c9b2ecebb2ad79d07edf6d (diff)
downloadPraspel-8fb22c76ae7bb72125a5e8414c82b9fcde480f37.zip
Praspel-8fb22c76ae7bb72125a5e8414c82b9fcde480f37.tar.gz
Praspel-8fb22c76ae7bb72125a5e8414c82b9fcde480f37.tar.bz2
Update an exception message.
Diffstat (limited to 'AssertionChecker')
-rw-r--r--AssertionChecker/Runtime.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/AssertionChecker/Runtime.php b/AssertionChecker/Runtime.php
index 798d9ce..abffc07 100644
--- a/AssertionChecker/Runtime.php
+++ b/AssertionChecker/Runtime.php
@@ -562,7 +562,8 @@ class Runtime extends AssertionChecker {
if(false === array_key_exists($name, $data)) {
$exceptions[] = new $exception(
- 'Variable %s is required and has no value.', 9, $name);
+ 'Variable %s in @%s is required and has no value.',
+ 9, array($name, $clause->getName()));
continue;
}