From c6d5aa28d7c115b465ca009173d871f4f58cf809 Mon Sep 17 00:00:00 2001 From: Matthew Baggett Date: Tue, 21 Jul 2020 03:09:32 +0200 Subject: [PATCH] Return makes no sense in this context. --- src/Generator/templates/Models/basetable.php.twig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Generator/templates/Models/basetable.php.twig b/src/Generator/templates/Models/basetable.php.twig index dd0c683..ca7f2e4 100644 --- a/src/Generator/templates/Models/basetable.php.twig +++ b/src/Generator/templates/Models/basetable.php.twig @@ -60,7 +60,7 @@ abstract class Base{{ class_name }}TableGateway extends AbstractTableGateway imp $resultSetPrototype = new ResultSet(ResultSet::TYPE_ARRAYOBJECT, new $this->model()); - return parent::__construct($this->table, $this->database->getAdapter(), null, $resultSetPrototype); + parent::__construct($this->table, $this->database->getAdapter(), null, $resultSetPrototype); } /**