Skip to content

Commit 4d6cdcc

Browse files
kenjisMGatner
andauthored
refactor: remove intermediate variable
Co-authored-by: MGatner <mgatner@icloud.com>
1 parent 79b6ba3 commit 4d6cdcc

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Commands/Setup.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -234,8 +234,7 @@ private function setupHelper(): void
234234
$replaces = [
235235
'$this->helpers = array_merge($this->helpers, [\'auth\', \'setting\']);' => $check,
236236
];
237-
$return = $this->replace($file, $replaces);
238-
if ($return) {
237+
if ($this->replace($file, $replaces)) {
239238
return;
240239
}
241240

0 commit comments

Comments
 (0)