We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents abf7549 + 9d0ace3 commit b91ce9cCopy full SHA for b91ce9c
src/TableGateway/TableGateway.php
@@ -29,10 +29,10 @@ public function __construct(
29
// adapter
30
$this->adapter = $adapter;
31
32
- /** @phpstan-ignore match.unhandled */
33
$this->featureSet = match (true) {
34
$features instanceof Feature\AbstractFeature => new Feature\FeatureSet([$features]),
35
- is_array($features) => new Feature\FeatureSet($features),
+ is_array($features) => new Feature\FeatureSet($features),
+ default => $features,
36
};
37
38
// result prototype
0 commit comments