Skip to content

Commit

Permalink
PHP Parse error
Browse files Browse the repository at this point in the history
With this comma removed, I no longer get this error.

```PHP Parse error:  syntax error, unexpected ')' in sitename/web/app/themes/sage/vendor/log1x/pagi/src/Pagi.php on line 91```

php -v dump:

```PHP 7.2.24 (cli) (built: Oct 25 2019 11:13:56) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
    with Zend OPcache v7.2.24, Copyright (c) 1999-2018, by Zend Technologies```
  • Loading branch information
tylerwiegand authored Dec 5, 2019
1 parent 7249520 commit 4fe94cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Pagi.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ public function build()
$this->items,
$this->items->count(),
$this->perPage,
$this->currentPage,
$this->currentPage
);
}
}

0 comments on commit 4fe94cf

Please sign in to comment.