aboutsummaryrefslogtreecommitdiffstats
path: root/Praspel.php
diff options
context:
space:
mode:
authorIvan Enderlin <ivan.enderlin@hoa-project.net>2013-06-13 01:42:02 +0200
committerIvan Enderlin <ivan.enderlin@hoa-project.net>2013-06-13 01:42:02 +0200
commit01d2721d5d533ef633af4576fade0dca6e6fe0dd (patch)
tree0333f556d65ff0f7c9b46a44e9f62c0ee21b134e /Praspel.php
parentfc486ce7199e861a3de10a8521c7efdd0ffaf181 (diff)
downloadPraspel-01d2721d5d533ef633af4576fade0dca6e6fe0dd.zip
Praspel-01d2721d5d533ef633af4576fade0dca6e6fe0dd.tar.gz
Praspel-01d2721d5d533ef633af4576fade0dca6e6fe0dd.tar.bz2
Format code. #mania
Diffstat (limited to 'Praspel.php')
-rw-r--r--Praspel.php8
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;
}
/**