fixed CS
This commit is contained in:
parent
8dc25abe1b
commit
580c8fa875
@ -19,7 +19,8 @@ use Symfony\Component\Locale\Stub\StubIntl;
|
||||
* @return Boolean Whether the error code indicates an error
|
||||
* @see Symfony\Component\Locale\Stub\StubIntl::isFailure
|
||||
*/
|
||||
function intl_is_failure($errorCode) {
|
||||
function intl_is_failure($errorCode)
|
||||
{
|
||||
return StubIntl::isFailure($errorCode);
|
||||
}
|
||||
|
||||
@ -31,9 +32,11 @@ function intl_is_failure($errorCode) {
|
||||
* StubIntl::U_ZERO_ERROR if no error occurred
|
||||
* @see Symfony\Component\Locale\Stub\StubIntl::getErrorCode
|
||||
*/
|
||||
function intl_get_error_code() {
|
||||
function intl_get_error_code()
|
||||
{
|
||||
return StubIntl::getErrorCode();
|
||||
}
|
||||
|
||||
/**
|
||||
* Stub implementation for the intl_get_error_code function of the intl extension
|
||||
*
|
||||
@ -42,7 +45,8 @@ function intl_get_error_code() {
|
||||
* "U_ZERO_ERROR" if no error occurred
|
||||
* @see Symfony\Component\Locale\Stub\StubIntl::getErrorMessage
|
||||
*/
|
||||
function intl_get_error_message() {
|
||||
function intl_get_error_message()
|
||||
{
|
||||
return StubIntl::getErrorMessage();
|
||||
}
|
||||
|
||||
@ -53,6 +57,7 @@ function intl_get_error_message() {
|
||||
*
|
||||
* @see Symfony\Component\Locale\Stub\StubIntl::getErrorName
|
||||
*/
|
||||
function intl_error_name($errorCode) {
|
||||
function intl_error_name($errorCode)
|
||||
{
|
||||
return StubIntl::getErrorName($errorCode);
|
||||
}
|
@ -120,6 +120,7 @@ class RouteCompiler implements RouteCompilerInterface
|
||||
$regexp .= str_repeat(")?", $nbTokens - $firstOptional);
|
||||
}
|
||||
}
|
||||
|
||||
return $regexp;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user