aboutsummaryrefslogtreecommitdiffstats
path: root/Model
diff options
context:
space:
mode:
authorIvan Enderlin <ivan.enderlin@hoa-project.net>2013-06-10 15:04:17 +0200
committerIvan Enderlin <ivan.enderlin@hoa-project.net>2013-06-10 15:04:17 +0200
commite7681de68cbd9b0ff906857264f00585ef082533 (patch)
treeca6a23ded38e975cb16fa0321af162d65810e3ae /Model
parent467d39b9047547ff94a37fdcb8805623ef09d542 (diff)
downloadPraspel-e7681de68cbd9b0ff906857264f00585ef082533.zip
Praspel-e7681de68cbd9b0ff906857264f00585ef082533.tar.gz
Praspel-e7681de68cbd9b0ff906857264f00585ef082533.tar.bz2
Fix exception number.
Diffstat (limited to 'Model')
-rw-r--r--Model/Behavior.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Model/Behavior.php b/Model/Behavior.php
index d4d6854..26bc5a1 100644
--- a/Model/Behavior.php
+++ b/Model/Behavior.php
@@ -159,7 +159,7 @@ class Behavior extends Clause {
if(false === in_array($clause, static::getAllowedClauses()))
throw new \Hoa\Praspel\Exception\Model(
'Clause @%s is not allowed in @%s.',
- 1, array($clause, $this->getId()));
+ 0, array($clause, $this->getId()));
switch($clause) {