diff options
author | Ivan Enderlin <ivan.enderlin@hoa-project.net> | 2013-06-13 01:42:02 +0200 |
---|---|---|
committer | Ivan Enderlin <ivan.enderlin@hoa-project.net> | 2013-06-13 01:42:02 +0200 |
commit | 01d2721d5d533ef633af4576fade0dca6e6fe0dd (patch) | |
tree | 0333f556d65ff0f7c9b46a44e9f62c0ee21b134e /Praspel.php | |
parent | fc486ce7199e861a3de10a8521c7efdd0ffaf181 (diff) | |
download | Praspel-01d2721d5d533ef633af4576fade0dca6e6fe0dd.zip Praspel-01d2721d5d533ef633af4576fade0dca6e6fe0dd.tar.gz Praspel-01d2721d5d533ef633af4576fade0dca6e6fe0dd.tar.bz2 |
Format code. #mania
Diffstat (limited to 'Praspel.php')
-rw-r--r-- | Praspel.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Praspel.php b/Praspel.php index 41b60e2..fa6a842 100644 --- a/Praspel.php +++ b/Praspel.php @@ -219,8 +219,8 @@ class Praspel { } // Check requires and behaviors. - $behavior = $specification; - $verdict &= $this->checkBehavior( + $behavior = $specification; + $verdict &= $this->checkBehavior( $behavior, $arguments, $exceptions @@ -419,10 +419,10 @@ class Praspel { $this->getVisitorPraspel()->visit($variable) )); - $verdict = $_verdict && $verdict; + $verdict &= $_verdict; } - return $verdict; + return (bool) $verdict; } /** |