aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIvan Enderlin <ivan.enderlin@hoa-project.net>2013-11-22 15:10:22 +0100
committerIvan Enderlin <ivan.enderlin@hoa-project.net>2013-11-22 15:10:22 +0100
commit61f09f7049928d3f4813a6623ec2c055adf792c2 (patch)
tree9d67a33c4998c324bff5bf040aaac2d37ba3a82b
parenta386cb3d71e5ee4daf845a0fcfa615290bd31299 (diff)
downloadPraspel-61f09f7049928d3f4813a6623ec2c055adf792c2.zip
Praspel-61f09f7049928d3f4813a6623ec2c055adf792c2.tar.gz
Praspel-61f09f7049928d3f4813a6623ec2c055adf792c2.tar.bz2
Fix a regression in behaviors.
-rw-r--r--AssertionChecker/Runtime.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/AssertionChecker/Runtime.php b/AssertionChecker/Runtime.php
index 6e3842e..5f99c62 100644
--- a/AssertionChecker/Runtime.php
+++ b/AssertionChecker/Runtime.php
@@ -417,7 +417,7 @@ class Runtime extends AssertionChecker {
* Check behavior clauses.
*
* @access protected
- * @param \Hoa\Praspel\Model\Behavior $behavior Behavior clause.
+ * @param \Hoa\Praspel\Model\Behavior &$behavior Behavior clause.
* @param array &$data Data.
* @param \Hoa\Praspel\Exception\Group $exceptions Exceptions group.
* @param bool $assign Assign data to
@@ -426,9 +426,9 @@ class Runtime extends AssertionChecker {
* @return bool
* @throw \Hoa\Praspel\Exception
*/
- protected function checkBehavior ( \Hoa\Praspel\Model\Behavior $behavior,
+ protected function checkBehavior ( \Hoa\Praspel\Model\Behavior &$behavior,
Array &$data,
- \Hoa\Praspel\Exception\Group $exceptions,
+ \Hoa\Praspel\Exception\Group $exceptions,
$assign = false,
$trace = false ) {