Skip to content

Commit 97c07dd

Browse files
committed
fix: use require app in push documentation extension instead of require_once
1 parent 50a0a7a commit 97c07dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Tests/PhpUnitEventSubscribers/SwaggerSaveDocumentationSubscriber.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public function notify(AfterLastTestMethodFinished $event): void
1919

2020
protected function createApplication(): Application
2121
{
22-
$app = require_once base_path('bootstrap/app.php');
22+
$app = require base_path('bootstrap/app.php');
2323

2424
$app->loadEnvironmentFrom('.env.testing');
2525
$app->make(Kernel::class)->bootstrap();

0 commit comments

Comments
 (0)