Remove unused method in ApiKeyNotFoundException

This commit is contained in:
Alejandro Celaya 2025-11-18 08:45:31 +01:00
parent 933c54e884
commit db1411d3f8

View File

@ -12,10 +12,4 @@ class ApiKeyNotFoundException extends RuntimeException implements ExceptionInter
{
return new self(sprintf('API key with name "%s" not found', $name));
}
/** @deprecated */
public static function forKey(string $key): self
{
return new self(sprintf('API key with key "%s" not found', $key));
}
}