diff --git a/src/OowpQuery.php b/src/OowpQuery.php index ad32d4e..8c4d041 100644 --- a/src/OowpQuery.php +++ b/src/OowpQuery.php @@ -40,7 +40,7 @@ function __construct($query = '') /* Interfaces */ - public function getIterator(): Traversable + public function getIterator(): \Traversable { return new \ArrayIterator($this->posts); }