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 662fd4e commit fc4c086Copy full SHA for fc4c086
src/OPCacheResetCommand.php
@@ -15,10 +15,12 @@ public function handle()
15
{
16
$route = (version_compare(app()->version(), '5.6.12') >= 0) ? \Illuminate\Support\Facades\URL::signedRoute('opcache-reset') : route('opcache-reset');
17
18
- $response = new Client([
+ $guzzle = new Client([
19
'http_errors' => false,
20
'verify' => false,
21
- ])->get($route);
+ ]);
22
+
23
+ $response = $guzzle->get($route);
24
25
if ($response->getStatusCode() === 200) {
26
return json_decode($response->getBody()->getContents());
0 commit comments