File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -769,7 +769,7 @@ Configuring Environment Variables in Production
769
769
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
770
770
771
771
In production, the ``.env `` files are also parsed and loaded on each request. So
772
- the easiest way to define env vars is by deploying a ``.env.local `` file to your
772
+ the easiest way to define env vars is by creating a ``.env.local `` file on your
773
773
production server(s) with your production values.
774
774
775
775
To improve performance, you can optionally run the ``dump-env `` command (available
Original file line number Diff line number Diff line change @@ -159,7 +159,7 @@ retrieved from the token storage::
159
159
$this->security = $security;
160
160
}
161
161
162
- public function supports(Request $request, ArgumentMetadata $argument)
162
+ public function supports(Request $request, ArgumentMetadata $argument): bool
163
163
{
164
164
if (User::class !== $argument->getType()) {
165
165
return false;
@@ -168,7 +168,7 @@ retrieved from the token storage::
168
168
return $this->security->getUser() instanceof User;
169
169
}
170
170
171
- public function resolve(Request $request, ArgumentMetadata $argument)
171
+ public function resolve(Request $request, ArgumentMetadata $argument): iterable
172
172
{
173
173
yield $this->security->getUser();
174
174
}
You can’t perform that action at this time.
0 commit comments