mirror of
https://github.com/shlinkio/shlink.git
synced 2024-11-23 21:27:44 +03:00
Added return typehint
This commit is contained in:
parent
70264be8e7
commit
391ef5c323
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ class JsonErrorResponseGenerator implements ErrorResponseGeneratorInterface, Sta
|
||||||
* @param string $responsePhrase
|
* @param string $responsePhrase
|
||||||
* @return string
|
* @return string
|
||||||
*/
|
*/
|
||||||
protected function responsePhraseToCode($responsePhrase)
|
protected function responsePhraseToCode($responsePhrase): string
|
||||||
{
|
{
|
||||||
return strtoupper(str_replace(' ', '_', $responsePhrase));
|
return strtoupper(str_replace(' ', '_', $responsePhrase));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue