aboutsummaryrefslogtreecommitdiffstats
path: root/Model
diff options
context:
space:
mode:
authorIvan Enderlin <ivan.enderlin@hoa-project.net>2012-12-18 15:01:56 +0100
committerIvan Enderlin <ivan.enderlin@hoa-project.net>2012-12-18 15:01:56 +0100
commit02449c063ed21b60d8e19065d90e27469df2b626 (patch)
treed85817f4bd9eb97a24ba753815fb772ce479353e /Model
parent2c5d61443f0650bfb70df310c7522d0f45c86806 (diff)
downloadPraspel-02449c063ed21b60d8e19065d90e27469df2b626.zip
Praspel-02449c063ed21b60d8e19065d90e27469df2b626.tar.gz
Praspel-02449c063ed21b60d8e19065d90e27469df2b626.tar.bz2
Use \ArrayIterator instead of \ArrayObject.
Diffstat (limited to 'Model')
-rw-r--r--Model/Forexample.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/Model/Forexample.php b/Model/Forexample.php
index 2750baa..66f47ce 100644
--- a/Model/Forexample.php
+++ b/Model/Forexample.php
@@ -142,11 +142,11 @@ class Forexample
* Iterator over examples.
*
* @access public
- * @return \ArrayObject
+ * @return \ArrayIterator
*/
public function getIterator ( ) {
- return new \ArrayObject($this->_examples);
+ return new \ArrayIterator($this->_examples);
}
/**