We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb8ceae commit 27eb8e9Copy full SHA for 27eb8e9
CHANGELOG.md
@@ -1,6 +1,10 @@
1
#Changelog
2
All notable changes will be documented in this file
3
4
+## 0.4.4 - June 16th, 2015
5
+
6
+- [Bug] Fixed #16
7
8
## 0.4.3 - June 16th, 2015
9
10
- [Bug] Fixed #15
src/Entity/EntityIterator.php
@@ -65,7 +65,11 @@ public function next()
65
66
public function valid()
67
{
68
- return ($this->cursor <= max(array_keys($this->data)));
+ if (count($this->data)) {
69
+ return ($this->cursor <= max(array_keys($this->data)));
70
+ } else {
71
+ return false;
72
+ }
73
}
74
75
protected function _getZerothEntity()
0 commit comments