Skip to content

Commit ec7fa68

Browse files
committed
Rename method
1 parent 89dce89 commit ec7fa68

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ServiceContainer/LaravelBooter.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public function boot()
6363
{
6464
$bootstrapPath = $this->basePath() . '/bootstrap/app.php';
6565

66-
$this->guardAgainstMissingBootstrapPath($bootstrapPath);
66+
$this->assertBootstrapFileExists($bootstrapPath);
6767

6868
$app = require $bootstrapPath;
6969

@@ -80,7 +80,7 @@ public function boot()
8080
* @param string $bootstrapPath
8181
* @throws RuntimeException
8282
*/
83-
private function guardAgainstMissingBootstrapPath($bootstrapPath)
83+
private function assertBootstrapFileExists($bootstrapPath)
8484
{
8585
if ( ! file_exists($bootstrapPath)) {
8686
throw new RuntimeException('Could not locate the path to the Laravel bootstrap file.');

0 commit comments

Comments
 (0)