From 7b09da4afe9f4129c96b1903cde5642eeb1c097d Mon Sep 17 00:00:00 2001 From: Robert Churchill Date: Mon, 29 Feb 2016 17:33:31 +0000 Subject: [PATCH] Prevent array type being picked up as missing class The `@return Array` typehint was being picked up as a missing class `Fusonic\Linq\Array`, so changed to lower-case. --- src/Fusonic/Linq/Linq.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Fusonic/Linq/Linq.php b/src/Fusonic/Linq/Linq.php index bb56fae..68f9db2 100644 --- a/src/Fusonic/Linq/Linq.php +++ b/src/Fusonic/Linq/Linq.php @@ -681,7 +681,7 @@ private function getLast($func, $throw) * @param callable $keySelector a func that returns the array-key for each element. * @param callable $valueSelector a func that returns the array-value for each element. * - * @return Array An array with all values. + * @return array An array with all values. */ public function toArray(callable $keySelector = null, callable $valueSelector = null) { @@ -709,4 +709,4 @@ public function getIterator() { return $this->iterator; } -} \ No newline at end of file +}