Skip to content

Commit 894855d

Browse files
committed
Minor: Fix dirname & comment
1 parent b1ca768 commit 894855d

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

src/EnvFile.php

-3
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,4 @@ public function saveTo(string $path): void
109109
file_put_contents($path, $content);
110110
}
111111

112-
// Private methods
113-
114-
115112
}

tests/Feature/ConsistencyTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public function testLoadSave()
4747
$contentPath = __DIR__ . "/Asset/example.env";
4848
$content = file_get_contents($contentPath);
4949

50-
$tmpPath = dirname(dirname(__DIR__)) . "/.tmp";
50+
$tmpPath = dirname(__DIR__, 2) . "/.tmp";
5151

5252
if (!is_dir($tmpPath)) {
5353
mkdir($tmpPath);

0 commit comments

Comments
 (0)