From 4fe94cfe68a2850b5692f5538d980e1df2b9a342 Mon Sep 17 00:00:00 2001 From: Tyler Wiegand Date: Thu, 5 Dec 2019 14:49:49 -0800 Subject: [PATCH] PHP Parse error 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``` --- src/Pagi.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Pagi.php b/src/Pagi.php index f94f993..7b8ed7e 100644 --- a/src/Pagi.php +++ b/src/Pagi.php @@ -87,7 +87,7 @@ public function build() $this->items, $this->items->count(), $this->perPage, - $this->currentPage, + $this->currentPage ); } }