From 187549502a01808a51069acc83c7452003ee84e0 Mon Sep 17 00:00:00 2001 From: Jean Baptiste Noblot Date: Mon, 21 May 2018 10:31:35 +0200 Subject: [PATCH] Fix times and power in Shared/JAMA/Matrix I add $args in count line 1 --- src/PhpSpreadsheet/Shared/JAMA/Matrix.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/PhpSpreadsheet/Shared/JAMA/Matrix.php b/src/PhpSpreadsheet/Shared/JAMA/Matrix.php index 528a025f5c..8ab9cfb359 100644 --- a/src/PhpSpreadsheet/Shared/JAMA/Matrix.php +++ b/src/PhpSpreadsheet/Shared/JAMA/Matrix.php @@ -1000,7 +1000,7 @@ public function arrayLeftDivideEquals(...$args) */ public function times(...$args) { - if (count() > 0) { + if (count($args) > 0) { $match = implode(',', array_map('gettype', $args)); switch ($match) { @@ -1094,7 +1094,7 @@ public function times(...$args) */ public function power(...$args) { - if (count() > 0) { + if (count($args) > 0) { $match = implode(',', array_map('gettype', $args)); switch ($match) {