Skip to content

Commit dea38e4

Browse files
laravel-ide-helpergithub-actions[bot]
authored andcommitted
composer fix-style
1 parent 73aae3c commit dea38e4

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/Generator.php

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -117,11 +117,13 @@ protected function detectHelpers()
117117
$helpers = $this->helpers;
118118

119119
$replacements = [
120-
'($guard is null ? \Illuminate\Contracts\Auth\Factory : \Illuminate\Contracts\Auth\StatefulGuard)' => '\\Auth'
120+
'($guard is null ? \Illuminate\Contracts\Auth\Factory : \Illuminate\Contracts\Auth\StatefulGuard)' => '\\Auth',
121121
];
122122
foreach ($replacements as $search => $replace) {
123-
$helpers= Str::replace(
124-
"@return {$search}", "@return $replace|$search", $helpers
123+
$helpers = Str::replace(
124+
"@return {$search}",
125+
"@return $replace|$search",
126+
$helpers
125127
);
126128
}
127129

0 commit comments

Comments
 (0)