Skip to content

Commit

Permalink
Updated to "vespula/locale": "^2.0"
Browse files Browse the repository at this point in the history
  • Loading branch information
rotimi committed May 15, 2024
1 parent b3818a9 commit 8744e0c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"pimple/pimple": "^3.5",
"nyholm/psr7": "^1.8",
"nyholm/psr7-server": "^1.1",
"vespula/locale": "^1.0"
"vespula/locale": "^2.0"
},
"require-dev": {
"phpunit/phpunit": "^10.0.0",
Expand Down
8 changes: 4 additions & 4 deletions src/controllers/BaseController.php
Original file line number Diff line number Diff line change
Expand Up @@ -802,11 +802,11 @@ protected function doLogin(\Vespula\Auth\Auth $auth, array $credentials, string
/**
* @psalm-suppress MixedArgument
* @psalm-suppress MixedMethodCall
* @psalm-suppress PossiblyInvalidOperand
* @psalm-suppress PossiblyInvalidOperand
*/
$this->logger
->error(
\str_replace('<br>', PHP_EOL, (string) $_msg)
\str_replace('<br>', PHP_EOL, $_msg)
. Utils::getThrowableAsStr($vaExc)
);

Expand All @@ -820,11 +820,11 @@ protected function doLogin(\Vespula\Auth\Auth $auth, array $credentials, string
/**
* @psalm-suppress MixedArgument
* @psalm-suppress MixedMethodCall
* @psalm-suppress PossiblyInvalidOperand
* @psalm-suppress PossiblyInvalidOperand
*/
$this->logger
->error(
\str_replace('<br>', PHP_EOL, (string) $_msg)
\str_replace('<br>', PHP_EOL, $_msg)
. Utils::getThrowableAsStr($basExc)
);
}
Expand Down

0 comments on commit 8744e0c

Please sign in to comment.