From 40aa2282dfa4e357fd79e5c2ef22242486eff869 Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Sun, 9 Feb 2020 17:15:59 +0100 Subject: [PATCH] Remove trailing comma --- lib/PhpParser/JsonDecoder.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/PhpParser/JsonDecoder.php b/lib/PhpParser/JsonDecoder.php index b55af5b..47d2003 100644 --- a/lib/PhpParser/JsonDecoder.php +++ b/lib/PhpParser/JsonDecoder.php @@ -75,7 +75,7 @@ class JsonDecoder return new $className( $value['text'], $value['line'] ?? -1, $value['filePos'] ?? -1, $value['tokenPos'] ?? -1, - $value['endLine'] ?? -1, $value['endFilePos'] ?? -1, $value['endTokenPos'] ?? -1, + $value['endLine'] ?? -1, $value['endFilePos'] ?? -1, $value['endTokenPos'] ?? -1 ); }