Enable no_useless_else rule in php-cs-fixer (#14420)

This commit is contained in:
Robert Korulczyk
2017-07-10 10:26:21 +02:00
committed by Alexander Makarov
parent 341b8d04c5
commit fe8a0a6a2e
103 changed files with 761 additions and 735 deletions

View File

@ -55,8 +55,8 @@ class HttpException extends UserException
{
if (isset(Response::$httpStatuses[$this->statusCode])) {
return Response::$httpStatuses[$this->statusCode];
} else {
return 'Error';
}
return 'Error';
}
}