mirror of
https://github.com/shlinkio/shlink.git
synced 2026-03-10 01:03:13 +08:00
Applied some improvements
This commit is contained in:
@@ -32,8 +32,8 @@ class JsonErrorResponseGenerator implements ErrorResponseGeneratorInterface, Sta
|
||||
], $status);
|
||||
}
|
||||
|
||||
protected function responsePhraseToCode(string $responsePhrase): string
|
||||
private function responsePhraseToCode(string $responsePhrase): string
|
||||
{
|
||||
return strtoupper(str_replace(' ', '_', $responsePhrase));
|
||||
return \strtoupper(\str_replace(' ', '_', $responsePhrase));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user