diff --git a/src/TableGateway/TableGateway.php b/src/TableGateway/TableGateway.php index 7c6cf4ce..c429b5a5 100644 --- a/src/TableGateway/TableGateway.php +++ b/src/TableGateway/TableGateway.php @@ -29,10 +29,10 @@ public function __construct( // adapter $this->adapter = $adapter; - /** @phpstan-ignore match.unhandled */ $this->featureSet = match (true) { $features instanceof Feature\AbstractFeature => new Feature\FeatureSet([$features]), - is_array($features) => new Feature\FeatureSet($features), + is_array($features) => new Feature\FeatureSet($features), + default => $features, }; // result prototype