From af8b4aa88f03c3cc8f87f4e7ca9ba34bcb78a3e9 Mon Sep 17 00:00:00 2001 From: Joe Watkins Date: Wed, 16 Sep 2015 19:58:54 +0100 Subject: [PATCH] [ci skip] --- README.md | 2 +- src/Threaded.php | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index c572b57..453e832 100644 --- a/README.md +++ b/README.md @@ -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 ------ diff --git a/src/Threaded.php b/src/Threaded.php index ae84535..8b99d1d 100644 --- a/src/Threaded.php +++ b/src/Threaded.php @@ -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) {