Browse Source

Fix phpstan error.

mark_story 8 years ago
parent
commit
07ee4744fc
1 changed files with 3 additions and 1 deletions
  1. 3 1
      src/Shell/Task/LoadTask.php

+ 3 - 1
src/Shell/Task/LoadTask.php

@@ -56,7 +56,9 @@ class LoadTask extends Shell
 
         $app = APP . 'Application.php';
         if (file_exists($app) && !$this->param('no_app')) {
-            return $this->modifyApplication($app, $plugin, $options);
+            $this->modifyApplication($app, $plugin, $options);
+
+            return true;
         }
 
         return $this->_modifyBootstrap($plugin, $options);