@@ -12,22 +12,22 @@ |
||
| 12 | 12 | { |
| 13 | 13 | public function generateGraphQLItems() |
| 14 | 14 | { |
| 15 | - if (! $this->isSkip('mutations') and ! $this->isSkip('graphql_mutations')) { |
|
| 15 | + if (!$this->isSkip('mutations') and !$this->isSkip('graphql_mutations')) { |
|
| 16 | 16 | $mutationGenerator = new GraphQLMutationGenerator($this->commandData); |
| 17 | 17 | $mutationGenerator->generate(); |
| 18 | 18 | } |
| 19 | 19 | |
| 20 | - if (! $this->isSkip('queries') and ! $this->isSkip('graphql_query')) { |
|
| 20 | + if (!$this->isSkip('queries') and !$this->isSkip('graphql_query')) { |
|
| 21 | 21 | $queryGenerator = new GraphQLQueryGenerator($this->commandData); |
| 22 | 22 | $queryGenerator->generate(); |
| 23 | 23 | } |
| 24 | 24 | |
| 25 | - if (! $this->isSkip('types') and ! $this->isSkip('graphql_types')) { |
|
| 25 | + if (!$this->isSkip('types') and !$this->isSkip('graphql_types')) { |
|
| 26 | 26 | $typeGenerator = new GraphQLTypeGenerator($this->commandData); |
| 27 | 27 | $typeGenerator->generate(); |
| 28 | 28 | } |
| 29 | 29 | |
| 30 | - if (! $this->isSkip('subscription') and ! $this->isSkip('graphql_subscription')) { |
|
| 30 | + if (!$this->isSkip('subscription') and !$this->isSkip('graphql_subscription')) { |
|
| 31 | 31 | $subscriptionGenerator = new GraphQLSubscriptionGenerator($this->commandData); |
| 32 | 32 | $subscriptionGenerator->generate(); |
| 33 | 33 | } |
@@ -1,6 +1,6 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -if (! function_exists('get_artomator_template_file_path')) { |
|
| 3 | +if (!function_exists('get_artomator_template_file_path')) { |
|
| 4 | 4 | /** |
| 5 | 5 | * get path for template file. |
| 6 | 6 | * |
@@ -32,7 +32,7 @@ discard block |
||
| 32 | 32 | } |
| 33 | 33 | }//end if |
| 34 | 34 | |
| 35 | -if (! function_exists('get_artomator_template')) { |
|
| 35 | +if (!function_exists('get_artomator_template')) { |
|
| 36 | 36 | /** |
| 37 | 37 | * get template contents. |
| 38 | 38 | * |
@@ -49,7 +49,7 @@ discard block |
||
| 49 | 49 | } |
| 50 | 50 | }//end if |
| 51 | 51 | |
| 52 | -if (! function_exists('license_authors')) { |
|
| 52 | +if (!function_exists('license_authors')) { |
|
| 53 | 53 | /** |
| 54 | 54 | * format authors for codeblock. |
| 55 | 55 | * |
@@ -39,47 +39,47 @@ |
||
| 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 | |