]> BookStack Code Mirror - bookstack/blobdiff - tests/CreatesApplication.php
Framework: Upgrade from Laravel 9 to 10
[bookstack] / tests / CreatesApplication.php
index b1cefbb6584375b519bcc230f434464f1ca87b4a..3258d05bc927e05ef05d7440ff1da5075aa3e3d6 100644 (file)
@@ -3,15 +3,14 @@
 namespace Tests;
 
 use Illuminate\Contracts\Console\Kernel;
+use Illuminate\Foundation\Application;
 
 trait CreatesApplication
 {
     /**
      * Creates the application.
-     *
-     * @return \Illuminate\Foundation\Application
      */
-    public function createApplication()
+    public function createApplication(): Application
     {
         $app = require __DIR__ . '/../bootstrap/app.php';
         $app->make(Kernel::class)->bootstrap();