Skip to content

Commit cd8116d

Browse files
authoredMay 3, 2023
Apply fixes from StyleCI (#148)
·
v1.2.01.3.0
1 parent c83c9b1 commit cd8116d

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed
 

‎src/Macros/PestHttpRecorder.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
use Illuminate\Http\Client\Request;
77
use Illuminate\Support\Arr;
88
use Illuminate\Support\Facades\File;
9-
use Illuminate\Support\Facades\Hash;
109
use Illuminate\Support\Facades\Http;
1110
use Illuminate\Support\Str;
1211

@@ -41,7 +40,6 @@ class HttpRecorder
4140

4241
private $requestNames = [];
4342

44-
4543
public function storeIn($directory)
4644
{
4745
$this->snapshotDirectory = $directory;
@@ -82,7 +80,7 @@ public function handle(Request $request)
8280
// filter out Notion API Token Header
8381
$header = Arr::except($header, ['Authorization']);
8482

85-
if ($forceRecording || !File::exists($filePath)) {
83+
if ($forceRecording || ! File::exists($filePath)) {
8684
File::makeDirectory($directoryPath, 0744, true, true);
8785

8886
$client = new Client();

0 commit comments

Comments
 (0)
Please sign in to comment.