aboutsummaryrefslogtreecommitdiffstats
path: root/Iterator
diff options
context:
space:
mode:
authorIvan Enderlin <ivan.enderlin@hoa-project.net>2013-05-13 19:10:54 +0200
committerIvan Enderlin <ivan.enderlin@hoa-project.net>2013-05-13 19:10:54 +0200
commit64620528e72f15470e409296a12dac00a9ca828f (patch)
tree8a80a388f5ad9a8ab4680d4919504769fe3c6880 /Iterator
parentc018171e085f95e15b346460d243c7447fa1af17 (diff)
downloadPraspel-64620528e72f15470e409296a12dac00a9ca828f.zip
Praspel-64620528e72f15470e409296a12dac00a9ca828f.tar.gz
Praspel-64620528e72f15470e409296a12dac00a9ca828f.tar.bz2
Use default value for pre/post in getChildren.
Diffstat (limited to 'Iterator')
-rw-r--r--Iterator/Coverage/Structural.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/Iterator/Coverage/Structural.php b/Iterator/Coverage/Structural.php
index 7888a34..b9a6b98 100644
--- a/Iterator/Coverage/Structural.php
+++ b/Iterator/Coverage/Structural.php
@@ -413,8 +413,8 @@ class Structural implements \Hoa\Iterator\Recursive {
foreach($clause->getLocalVariables() as $variable)
$post[] = $variable;
- $iterator->attachIterator(new Domain($pre), 'pre');
- $iterator->attachIterator(new Domain($post), 'post');
+ $iterator->attachIterator(new Domain($pre), 'pre', array());
+ $iterator->attachIterator(new Domain($post), 'post', array());
return new \Hoa\Iterator\Recursive\Mock($iterator);
}