We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 73aae3c commit dea38e4Copy full SHA for dea38e4
src/Generator.php
@@ -117,11 +117,13 @@ protected function detectHelpers()
117
$helpers = $this->helpers;
118
119
$replacements = [
120
- '($guard is null ? \Illuminate\Contracts\Auth\Factory : \Illuminate\Contracts\Auth\StatefulGuard)' => '\\Auth'
+ '($guard is null ? \Illuminate\Contracts\Auth\Factory : \Illuminate\Contracts\Auth\StatefulGuard)' => '\\Auth',
121
];
122
foreach ($replacements as $search => $replace) {
123
- $helpers= Str::replace(
124
- "@return {$search}", "@return $replace|$search", $helpers
+ $helpers = Str::replace(
+ "@return {$search}",
125
+ "@return $replace|$search",
126
+ $helpers
127
);
128
}
129
0 commit comments