Skip to content

Commit d676085

Browse files
committed
rector fix
1 parent 6bc7ece commit d676085

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

tests/system/Commands/Generators/FormRequestGeneratorTest.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ protected function tearDown(): void
3131

3232
$result = str_replace(["\033[0;32m", "\033[0m", "\n"], '', $this->getStreamFilterBuffer());
3333
$file = str_replace('APPPATH' . DIRECTORY_SEPARATOR, APPPATH, trim(substr($result, 14)));
34-
$dir = dirname($file);
3534

3635
if (is_file($file)) {
3736
unlink($file);
@@ -47,7 +46,7 @@ public function testGenerateFormRequest(): void
4746
$this->assertFileExists($file);
4847
$this->assertStringContainsString(
4948
'Defaults to true in FormRequest. Override only when authorization',
50-
file_get_contents($file),
49+
(string) file_get_contents($file),
5150
);
5251
}
5352

0 commit comments

Comments
 (0)