Skip to content

Commit

Permalink
[ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
krakjoe committed Sep 16, 2015
1 parent a825dce commit af8b4aa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

*pthreads-polyfill* does not implement the same execution model, for obvious reasons, and has no external dependencies.

*pthreads-polyfill* will fill for v2 or v3.
*pthreads-polyfill* will fill for v2 or v3, however behaviour is consistent with v3, which is the version new projects should target.

Testing
------
Expand Down
6 changes: 3 additions & 3 deletions src/Threaded.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@ public function offsetExists($offset) {
return $this->__isset($offset);
}

public function count() {
public function count() {
return count($this->data);
}

public function getIterator() {
return new ArrayIterator($this->data);
public function getIterator() {
return new ArrayIterator($this->data);
}

public function __set($offset, $value) {
Expand Down

0 comments on commit af8b4aa

Please sign in to comment.