fix new phpstan issues

This commit is contained in:
2023-04-11 13:04:08 +02:00
parent 841bdb0ebf
commit 4db1ff405e
7 changed files with 29 additions and 44 deletions

View File

@@ -100,6 +100,9 @@ class ThirdPartySearch implements SearchInterface
'more' => $paginator->hasNextPage(),
];
}
if ('html' === $format) {
throw new \UnexpectedValueException("format not supported");
}
}
public function supports($domain, $format): bool