added type hints (oh, yeah - mixed for all)

This commit is contained in:
2024-09-13 01:09:03 +02:00
parent 72023d4591
commit 14569bd668

View File

@@ -29,7 +29,7 @@ final class RedmineClient
}
public function __call($name, $arguments)
public function __call(mixed $name, mixed $arguments): mixed
{
if (!method_exists($this->client, $name)) {
throw new \BadMethodCallException(sprintf(