Skip to content

Commit 81add93

Browse files
authored
Revert Style changes that are not related to my pull-request
1 parent d635d2f commit 81add93

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Illuminate/Foundation/Testing/Concerns/InteractsWithViews.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,13 @@ protected function blade(string $template, array $data = [])
3434
{
3535
$tempDirectory = sys_get_temp_dir();
3636

37-
if (!in_array($tempDirectory, ViewFacade::getFinder()->getPaths())) {
37+
if (! in_array($tempDirectory, ViewFacade::getFinder()->getPaths())) {
3838
ViewFacade::addLocation(sys_get_temp_dir());
3939
}
4040

4141
$tempFileInfo = pathinfo(tempnam($tempDirectory, 'laravel-blade'));
4242

43-
$tempFile = $tempFileInfo['dirname'] . '/' . $tempFileInfo['filename'] . '.blade.php';
43+
$tempFile = $tempFileInfo['dirname'].'/'.$tempFileInfo['filename'] . '.blade.php';
4444

4545
file_put_contents($tempFile, $template);
4646

@@ -64,7 +64,7 @@ protected function component(string $componentClass, array $data = [])
6464
? $view->with($component->data())
6565
: view($view, $component->data());
6666

67-
return (new TestComponent($component, $view));
67+
return new TestComponent($component, $view);
6868
}
6969

7070
/**

0 commit comments

Comments
 (0)