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 @@ -764,7 +764,7 @@ Configuring Environment Variables in Production
764
764
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
765
765
766
766
In production, the ``.env `` files are also parsed and loaded on each request. So
767
- the easiest way to define env vars is by deploying a ``.env.local `` file to your
767
+ the easiest way to define env vars is by creating a ``.env.local `` file on your
768
768
production server(s) with your production values.
769
769
770
770
To improve performance, you can optionally run the ``dump-env `` command (available
Original file line number Diff line number Diff line change @@ -195,7 +195,7 @@ retrieved from the token storage::
195
195
$this->security = $security;
196
196
}
197
197
198
- public function supports(Request $request, ArgumentMetadata $argument)
198
+ public function supports(Request $request, ArgumentMetadata $argument): bool
199
199
{
200
200
if (User::class !== $argument->getType()) {
201
201
return false;
@@ -204,7 +204,7 @@ retrieved from the token storage::
204
204
return $this->security->getUser() instanceof User;
205
205
}
206
206
207
- public function resolve(Request $request, ArgumentMetadata $argument)
207
+ public function resolve(Request $request, ArgumentMetadata $argument): iterable
208
208
{
209
209
yield $this->security->getUser();
210
210
}
You can’t perform that action at this time.
0 commit comments