]> BookStack Code Mirror - bookstack/blobdiff - tests/CreatesApplication.php
Tests: Updated comment test to account for new editor usage
[bookstack] / tests / CreatesApplication.php
index 42a5da2d16ab402a976d43deab9fe03877518c72..3258d05bc927e05ef05d7440ff1da5075aa3e3d6 100644 (file)
@@ -1,18 +1,20 @@
-<?php namespace Tests;
+<?php
+
+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 = require __DIR__ . '/../bootstrap/app.php';
         $app->make(Kernel::class)->bootstrap();
+
         return $app;
     }
-}
\ No newline at end of file
+}