We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f021f0b commit 0febcaeCopy full SHA for 0febcae
composer.json
@@ -29,7 +29,8 @@
29
"ext-mbstring": "*",
30
"php-di/php-di": "^7.0.1",
31
"psr/container": "^1.0|^2.0",
32
- "slim/slim": "^4.8"
+ "slim/slim": "^4.8",
33
+ "symfony/polyfill-php84": "^1.30"
34
},
35
"require-dev": {
36
"bnf/phpstan-psr-container": "^1.0",
src/ContainerTrait.php
@@ -45,7 +45,7 @@ public function get(string $name): mixed
45
);
46
} catch (Throwable $exception) {
47
throw new DependencyException(
48
- rtrim($exception->getMessage(), '.') . '.',
+ mb_rtrim($exception->getMessage(), '.') . '.',
49
(int) $exception->getCode(),
50
$exception,
51
0 commit comments