Completed
Branch master (9e9371)
by Vojta
01:44
created
Category
routes.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@  discard block
 block discarded – undo
10 10
  * @namespace artisan/v1
11 11
  * @version 1
12 12
  */
13
-Route::group(['prefix' => 'artisan/v1'], function ()
13
+Route::group([ 'prefix' => 'artisan/v1' ], function()
14 14
 {
15 15
     /**
16 16
      * Run queued commend.
@@ -19,7 +19,7 @@  discard block
 block discarded – undo
19 19
      *
20 20
      * @method GET
21 21
      */
22
-    Route::get('queued/{group}/{command}/{hash}', function ($group, $command, $hash)
22
+    Route::get('queued/{group}/{command}/{hash}', function($group, $command, $hash)
23 23
     {
24 24
         /** @var \VojtaSvoboda\WebArtisan\Classes\CommandRunner $runner */
25 25
         $runner = App::make(\VojtaSvoboda\WebArtisan\Classes\CommandRunner::class);
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
      *
37 37
      * @method GET
38 38
      */
39
-    Route::get('{group}/{command}/{hash}', function ($group, $command, $hash)
39
+    Route::get('{group}/{command}/{hash}', function($group, $command, $hash)
40 40
     {
41 41
         /** @var \VojtaSvoboda\WebArtisan\Classes\CommandRunner $runner */
42 42
         $runner = App::make(\VojtaSvoboda\WebArtisan\Classes\CommandRunner::class);
Please login to merge, or discard this patch.
models/Settings.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@
 block discarded – undo
8 8
 {
9 9
     use ValidationTrait;
10 10
 
11
-    public $implement = ['System.Behaviors.SettingsModel'];
11
+    public $implement = [ 'System.Behaviors.SettingsModel' ];
12 12
 
13 13
     public $settingsCode = 'vojtasvoboda_webartisan_settings';
14 14
 
Please login to merge, or discard this patch.
classes/CommandRunner.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,7 @@
 block discarded – undo
7 7
 class CommandRunner
8 8
 {
9 9
     /** @var array $allowedCommands List of allowed commands loaded from Config. */
10
-    protected $allowedCommands = [];
10
+    protected $allowedCommands = [ ];
11 11
 
12 12
     /** @var Settings $settings */
13 13
     protected $settings;
Please login to merge, or discard this patch.