From 2ef8358771ddf2e759fa1fbbde3bbb1a28ab1dfe Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Sat, 12 Nov 2016 21:40:39 +0100 Subject: [PATCH] Add return --- Math/Matrix/Matrix.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Math/Matrix/Matrix.php b/Math/Matrix/Matrix.php index 2f512ced2..7c3d6b962 100644 --- a/Math/Matrix/Matrix.php +++ b/Math/Matrix/Matrix.php @@ -767,7 +767,7 @@ class Matrix implements \ArrayAccess, \Iterator */ public function valid() { - $this->offsetExists($this->position); + return $this->offsetExists($this->position); } /**