@@ -23,7 +23,7 @@ discard block |
||
23 | 23 | /** |
24 | 24 | * Create a new command instance. |
25 | 25 | */ |
26 | - public function __construct() |
|
26 | + public function __construct () |
|
27 | 27 | { |
28 | 28 | parent::__construct(); |
29 | 29 | |
@@ -35,7 +35,7 @@ discard block |
||
35 | 35 | * |
36 | 36 | * @return void |
37 | 37 | */ |
38 | - public function handle() |
|
38 | + public function handle () |
|
39 | 39 | { |
40 | 40 | parent::handle(); |
41 | 41 | |
@@ -53,7 +53,7 @@ discard block |
||
53 | 53 | * |
54 | 54 | * @return array |
55 | 55 | */ |
56 | - public function getOptions() |
|
56 | + public function getOptions () |
|
57 | 57 | { |
58 | 58 | return array_merge(parent::getOptions(), []); |
59 | 59 | } |
@@ -63,7 +63,7 @@ discard block |
||
63 | 63 | * |
64 | 64 | * @return array |
65 | 65 | */ |
66 | - protected function getArguments() |
|
66 | + protected function getArguments () |
|
67 | 67 | { |
68 | 68 | return array_merge(parent::getArguments(), []); |
69 | 69 | } |
@@ -11,7 +11,7 @@ |
||
11 | 11 | * |
12 | 12 | * @return string |
13 | 13 | */ |
14 | - protected static function getFacadeAccessor() |
|
14 | + protected static function getFacadeAccessor () |
|
15 | 15 | { |
16 | 16 | return 'artomator'; |
17 | 17 | } |
@@ -14,7 +14,7 @@ |
||
14 | 14 | * @param string $commandType |
15 | 15 | * @param TemplatesManager $templatesManager |
16 | 16 | */ |
17 | - public function __construct(Command $commandObj, $commandType, TemplatesManager $templatesManager = null) |
|
17 | + public function __construct (Command $commandObj, $commandType, TemplatesManager $templatesManager = null) |
|
18 | 18 | { |
19 | 19 | parent::__construct($commandObj, $commandType, $templatesManager); |
20 | 20 |
@@ -23,7 +23,7 @@ discard block |
||
23 | 23 | /** |
24 | 24 | * Create a new command instance. |
25 | 25 | */ |
26 | - public function __construct() |
|
26 | + public function __construct () |
|
27 | 27 | { |
28 | 28 | parent::__construct(); |
29 | 29 | |
@@ -35,7 +35,7 @@ discard block |
||
35 | 35 | * |
36 | 36 | * @return void |
37 | 37 | */ |
38 | - public function handle() |
|
38 | + public function handle () |
|
39 | 39 | { |
40 | 40 | parent::handle(); |
41 | 41 | |
@@ -53,7 +53,7 @@ discard block |
||
53 | 53 | * |
54 | 54 | * @return array |
55 | 55 | */ |
56 | - public function getOptions() |
|
56 | + public function getOptions () |
|
57 | 57 | { |
58 | 58 | return array_merge(parent::getOptions(), []); |
59 | 59 | } |
@@ -63,7 +63,7 @@ discard block |
||
63 | 63 | * |
64 | 64 | * @return array |
65 | 65 | */ |
66 | - protected function getArguments() |
|
66 | + protected function getArguments () |
|
67 | 67 | { |
68 | 68 | return array_merge(parent::getArguments(), []); |
69 | 69 | } |
@@ -23,7 +23,7 @@ discard block |
||
23 | 23 | /** |
24 | 24 | * Create a new command instance. |
25 | 25 | */ |
26 | - public function __construct() |
|
26 | + public function __construct () |
|
27 | 27 | { |
28 | 28 | parent::__construct(); |
29 | 29 | |
@@ -35,7 +35,7 @@ discard block |
||
35 | 35 | * |
36 | 36 | * @return void |
37 | 37 | */ |
38 | - public function handle() |
|
38 | + public function handle () |
|
39 | 39 | { |
40 | 40 | parent::handle(); |
41 | 41 | |
@@ -53,7 +53,7 @@ discard block |
||
53 | 53 | * |
54 | 54 | * @return array |
55 | 55 | */ |
56 | - public function getOptions() |
|
56 | + public function getOptions () |
|
57 | 57 | { |
58 | 58 | return array_merge(parent::getOptions(), []); |
59 | 59 | } |
@@ -63,7 +63,7 @@ discard block |
||
63 | 63 | * |
64 | 64 | * @return array |
65 | 65 | */ |
66 | - protected function getArguments() |
|
66 | + protected function getArguments () |
|
67 | 67 | { |
68 | 68 | return array_merge(parent::getArguments(), []); |
69 | 69 | } |
@@ -23,7 +23,7 @@ discard block |
||
23 | 23 | /** |
24 | 24 | * Create a new command instance. |
25 | 25 | */ |
26 | - public function __construct() |
|
26 | + public function __construct () |
|
27 | 27 | { |
28 | 28 | parent::__construct(); |
29 | 29 | |
@@ -35,7 +35,7 @@ discard block |
||
35 | 35 | * |
36 | 36 | * @return void |
37 | 37 | */ |
38 | - public function handle() |
|
38 | + public function handle () |
|
39 | 39 | { |
40 | 40 | parent::handle(); |
41 | 41 | |
@@ -53,7 +53,7 @@ discard block |
||
53 | 53 | * |
54 | 54 | * @return array |
55 | 55 | */ |
56 | - public function getOptions() |
|
56 | + public function getOptions () |
|
57 | 57 | { |
58 | 58 | return array_merge(parent::getOptions(), []); |
59 | 59 | } |
@@ -63,7 +63,7 @@ discard block |
||
63 | 63 | * |
64 | 64 | * @return array |
65 | 65 | */ |
66 | - protected function getArguments() |
|
66 | + protected function getArguments () |
|
67 | 67 | { |
68 | 68 | return array_merge(parent::getArguments(), []); |
69 | 69 | } |
@@ -23,7 +23,7 @@ discard block |
||
23 | 23 | /** |
24 | 24 | * Create a new command instance. |
25 | 25 | */ |
26 | - public function __construct() |
|
26 | + public function __construct () |
|
27 | 27 | { |
28 | 28 | parent::__construct(); |
29 | 29 | |
@@ -35,7 +35,7 @@ discard block |
||
35 | 35 | * |
36 | 36 | * @return void |
37 | 37 | */ |
38 | - public function handle() |
|
38 | + public function handle () |
|
39 | 39 | { |
40 | 40 | parent::handle(); |
41 | 41 | |
@@ -53,7 +53,7 @@ discard block |
||
53 | 53 | * |
54 | 54 | * @return array |
55 | 55 | */ |
56 | - public function getOptions() |
|
56 | + public function getOptions () |
|
57 | 57 | { |
58 | 58 | return array_merge(parent::getOptions(), []); |
59 | 59 | } |
@@ -63,7 +63,7 @@ discard block |
||
63 | 63 | * |
64 | 64 | * @return array |
65 | 65 | */ |
66 | - protected function getArguments() |
|
66 | + protected function getArguments () |
|
67 | 67 | { |
68 | 68 | return array_merge(parent::getArguments(), []); |
69 | 69 | } |
@@ -23,7 +23,7 @@ discard block |
||
23 | 23 | /** |
24 | 24 | * Create a new command instance. |
25 | 25 | */ |
26 | - public function __construct() |
|
26 | + public function __construct () |
|
27 | 27 | { |
28 | 28 | parent::__construct(); |
29 | 29 | |
@@ -35,7 +35,7 @@ discard block |
||
35 | 35 | * |
36 | 36 | * @return void |
37 | 37 | */ |
38 | - public function handle() |
|
38 | + public function handle () |
|
39 | 39 | { |
40 | 40 | parent::handle(); |
41 | 41 | |
@@ -53,7 +53,7 @@ discard block |
||
53 | 53 | * |
54 | 54 | * @return array |
55 | 55 | */ |
56 | - public function getOptions() |
|
56 | + public function getOptions () |
|
57 | 57 | { |
58 | 58 | return array_merge(parent::getOptions(), []); |
59 | 59 | } |
@@ -63,7 +63,7 @@ discard block |
||
63 | 63 | * |
64 | 64 | * @return array |
65 | 65 | */ |
66 | - protected function getArguments() |
|
66 | + protected function getArguments () |
|
67 | 67 | { |
68 | 68 | return array_merge(parent::getArguments(), []); |
69 | 69 | } |
@@ -16,7 +16,7 @@ discard block |
||
16 | 16 | /** |
17 | 17 | * Bootstrap the application services. |
18 | 18 | */ |
19 | - public function boot() |
|
19 | + public function boot () |
|
20 | 20 | { |
21 | 21 | $configPath = __DIR__.'/../config/artomator.php'; |
22 | 22 | $configPathInfyom = __DIR__.'/../../../infyomlabs/laravel-generator/config/laravel_generator.php'; |
@@ -35,51 +35,51 @@ discard block |
||
35 | 35 | /** |
36 | 36 | * Register the application services. |
37 | 37 | */ |
38 | - public function register() |
|
38 | + public function register () |
|
39 | 39 | { |
40 | 40 | $this->app->singleton( |
41 | 41 | 'artomator.graphql', |
42 | - function ($app) { |
|
42 | + function($app) { |
|
43 | 43 | return new GraphQLGeneratorCommand(); |
44 | 44 | } |
45 | 45 | ); |
46 | 46 | |
47 | 47 | $this->app->singleton( |
48 | 48 | 'artomator.graphql_scaffold', |
49 | - function ($app) { |
|
49 | + function($app) { |
|
50 | 50 | return new GraphQLScaffoldGeneratorCommand(); |
51 | 51 | } |
52 | 52 | ); |
53 | 53 | |
54 | 54 | $this->app->singleton( |
55 | 55 | 'artomator.graphql.query', |
56 | - function ($app) { |
|
56 | + function($app) { |
|
57 | 57 | return new GraphQLQueryGeneratorCommand(); |
58 | 58 | } |
59 | 59 | ); |
60 | 60 | |
61 | 61 | $this->app->singleton( |
62 | 62 | 'artomator.graphql.mutations', |
63 | - function ($app) { |
|
63 | + function($app) { |
|
64 | 64 | return new GraphQLMutationsGeneratorCommand(); |
65 | 65 | } |
66 | 66 | ); |
67 | 67 | |
68 | 68 | $this->app->singleton( |
69 | 69 | 'artomator.graphql.type', |
70 | - function ($app) { |
|
70 | + function($app) { |
|
71 | 71 | return new GraphQLTypeGeneratorCommand(); |
72 | 72 | } |
73 | 73 | ); |
74 | 74 | |
75 | 75 | $this->app->singleton( |
76 | 76 | 'artomator.graphql.subscription', |
77 | - function ($app) { |
|
77 | + function($app) { |
|
78 | 78 | return new GraphQLSubscriptionGeneratorCommand(); |
79 | 79 | } |
80 | 80 | ); |
81 | 81 | |
82 | - $this->app->singleton('artomator.publish.templates', function ($app) { |
|
82 | + $this->app->singleton('artomator.publish.templates', function($app) { |
|
83 | 83 | return new PublishTemplateCommand(); |
84 | 84 | }); |
85 | 85 |