Skip to content

Commit

Permalink
Fix coding standards
Browse files Browse the repository at this point in the history
  • Loading branch information
alustau committed Nov 6, 2023
1 parent f7a8b08 commit f64a964
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/HandlerResolver.php
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,8 @@ private function resolveBootstrapLocation(): string
return $bootstrapFile;
}

// Going up 4 directories will get us from `vendor/brefphp/laravel-bridge/src`
// to the Laravel root folder so we can navigate to `bootstrap/app.php`
// Going up 4 directories will get us from `vendor/brefphp/laravel-bridge/src`
// to the Laravel root folder so we can navigate to `bootstrap/app.php`
if (file_exists(__DIR__ . '/../../../../bootstrap/app.php')) {
return realpath(__DIR__ . '/../../../../bootstrap/app.php');
}
Expand Down
4 changes: 2 additions & 2 deletions src/bref-init.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
return;
}

$defaultConfigCachePath = $laravelHome . '/bootstrap/cache/config.php';
$defaultConfigCachePath = $laravelHome . '/bootstrap/cache/config.php';

if (file_exists($defaultConfigCachePath)) {
return;
Expand Down Expand Up @@ -59,6 +59,6 @@ function resolveBootstrapLocation(): string
return $_SERVER['LAMBDA_TASK_ROOT'];
}

// Going up 4 directories will get us from `vendor/brefphp/laravel-bridge/src` to the Laravel root folder
// Going up 4 directories will get us from `vendor/brefphp/laravel-bridge/src` to the Laravel root folder
return realpath(__DIR__ . '/../../../../');
}

0 comments on commit f64a964

Please sign in to comment.