| @@ -142,7 +142,7 @@ discard block | ||
| 142 | 142 | ); | 
| 143 | 143 | } | 
| 144 | 144 | |
| 145 | -            if (! file_exists($path)) { | |
| 145 | +            if (!file_exists($path)) { | |
| 146 | 146 | throw new InvalidConfigurationException( | 
| 147 | 147 |                      sprintf('The "schema_paths" config value for key "%s" contains a path that does not exist', $key) | 
| 148 | 148 | ); | 
| @@ -166,7 +166,7 @@ discard block | ||
| 166 | 166 |      { | 
| 167 | 167 |          resolve('events')->listen( | 
| 168 | 168 | BuildingAST::class, | 
| 169 | -            function () use ($definitionFileDirectories) { | |
| 169 | +            function() use ($definitionFileDirectories) { | |
| 170 | 170 | $typeDefinitionPaths = $this->definitionsParser->getGraphqlDefinitionFilePaths( | 
| 171 | 171 | $definitionFileDirectories['types'] | 
| 172 | 172 | ); | 
| @@ -222,7 +222,7 @@ discard block | ||
| 222 | 222 | * @var ObjectType $type | 
| 223 | 223 | */ | 
| 224 | 224 |          foreach ($schema->getTypeMap() as $typeName => $type) { | 
| 225 | -            if (! in_array($typeName, $definedTypes) || ! method_exists($type, 'getFields')) { | |
| 225 | +            if (!in_array($typeName, $definedTypes) || !method_exists($type, 'getFields')) { | |
| 226 | 226 | continue; | 
| 227 | 227 | } | 
| 228 | 228 | |
| @@ -243,7 +243,7 @@ discard block | ||
| 243 | 243 | $graphQLType->config['generator-required'] = true; | 
| 244 | 244 | } | 
| 245 | 245 | |
| 246 | -                if (! in_array(get_class($graphQLType), $this->supportedGraphQLTypes)) { | |
| 246 | +                if (!in_array(get_class($graphQLType), $this->supportedGraphQLTypes)) { | |
| 247 | 247 | continue; | 
| 248 | 248 | }; | 
| 249 | 249 | |
| @@ -276,12 +276,12 @@ discard block | ||
| 276 | 276 |          foreach ($definedTypes as $typeName => $type) { | 
| 277 | 277 | $paginateAndAllQuery = PaginateAllQueryGenerator::generate($typeName, $type); | 
| 278 | 278 | |
| 279 | -            if (! empty($paginateAndAllQuery)) { | |
| 279 | +            if (!empty($paginateAndAllQuery)) { | |
| 280 | 280 | $queries[] = $paginateAndAllQuery; | 
| 281 | 281 | } | 
| 282 | 282 | $findQuery = FindQueryGenerator::generate($typeName, $type); | 
| 283 | 283 | |
| 284 | -            if (! empty($findQuery)) { | |
| 284 | +            if (!empty($findQuery)) { | |
| 285 | 285 | $queries[] = $findQuery; | 
| 286 | 286 | } | 
| 287 | 287 | |
| @@ -298,7 +298,7 @@ discard block | ||
| 298 | 298 | } | 
| 299 | 299 | |
| 300 | 300 | $deleteMutation = DeleteMutationGenerator::generate($typeName, $type); | 
| 301 | -            if (! empty($deleteMutation)) { | |
| 301 | +            if (!empty($deleteMutation)) { | |
| 302 | 302 | $mutations[] = $deleteMutation; | 
| 303 | 303 | } | 
| 304 | 304 | } |