Skip to content

Commit

Permalink
Merge branch '8.x' into 9.x
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Mar 3, 2022
2 parents 1678dc7 + 326db93 commit ac4f8fa
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/Illuminate/Http/Middleware/TrustProxies.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public function handle(Request $request, Closure $next)
*/
protected function setTrustedProxyIpAddresses(Request $request)
{
$trustedIps = $this->proxies();
$trustedIps = $this->proxies() ?: config('trustedproxy.proxies');

if ($trustedIps === '*' || $trustedIps === '**') {
return $this->setTrustedProxyIpAddressesToTheCallingIp($request);
Expand Down
8 changes: 4 additions & 4 deletions src/Illuminate/Support/Testing/Fakes/QueueFake.php
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ public function size($queue = null)
/**
* Push a new job onto the queue.
*
* @param string $job
* @param string|object $job
* @param mixed $data
* @param string|null $queue
* @return mixed
Expand Down Expand Up @@ -302,7 +302,7 @@ public function pushRaw($payload, $queue = null, array $options = [])
* Push a new job onto the queue after (n) seconds.
*
* @param \DateTimeInterface|\DateInterval|int $delay
* @param string $job
* @param string|object $job
* @param mixed $data
* @param string|null $queue
* @return mixed
Expand All @@ -316,7 +316,7 @@ public function later($delay, $job, $data = '', $queue = null)
* Push a new job onto the queue.
*
* @param string $queue
* @param string $job
* @param string|object $job
* @param mixed $data
* @return mixed
*/
Expand All @@ -330,7 +330,7 @@ public function pushOn($queue, $job, $data = '')
*
* @param string $queue
* @param \DateTimeInterface|\DateInterval|int $delay
* @param string $job
* @param string|object $job
* @param mixed $data
* @return mixed
*/
Expand Down

0 comments on commit ac4f8fa

Please sign in to comment.