File tree 1 file changed +7
-4
lines changed
1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ public function register(): void
44
44
$ this ->app ->instance (BaseTranslator::class, $ this ->app [BaseTranslator::class]);
45
45
46
46
$ this ->app ->singleton ('translator ' , function (Application $ app ) {
47
- /** @phpstan-ignore-next-line */
47
+ /** @phpstan-ignore offsetAccess.nonOffsetAccessible */
48
48
$ options = $ app ['config ' ]['fluent ' ];
49
49
50
50
assert (
@@ -54,9 +54,12 @@ public function register(): void
54
54
);
55
55
56
56
return new FluentTranslator (
57
- baseTranslator: $ app [BaseTranslator::class], /** @phpstan-ignore-line */
58
- files: $ app [Filesystem::class], /** @phpstan-ignore-line */
59
- path: $ app ['path.lang ' ], /** @phpstan-ignore-line */
57
+ /** @phpstan-ignore argument.type */
58
+ baseTranslator: $ app [BaseTranslator::class],
59
+ /** @phpstan-ignore argument.type */
60
+ files: $ app [Filesystem::class],
61
+ /** @phpstan-ignore argument.type */
62
+ path: $ app ['path.lang ' ],
60
63
locale: $ app ->getLocale (),
61
64
fallback: $ app ->getFallbackLocale (),
62
65
bundleOptions: [
You can’t perform that action at this time.
0 commit comments