Skip to content

Commit

Permalink
Fix times and power in Shared/JAMA/Matrix
Browse files Browse the repository at this point in the history
I add $args in count line 1
  • Loading branch information
tolbon authored and PowerKiKi committed May 21, 2018
1 parent 3766927 commit 0c7df77
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/PhpSpreadsheet/Shared/JAMA/Matrix.php
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down Expand Up @@ -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) {
Expand Down

0 comments on commit 0c7df77

Please sign in to comment.