We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -468,7 +468,7 @@ |
||
| 468 | 468 | /** |
| 469 | 469 | * Parse annotation |
| 470 | 470 | * |
| 471 | - * @param mixed $annotation |
|
| 471 | + * @param mixed $annotations |
|
| 472 | 472 | * |
| 473 | 473 | * @return array |
| 474 | 474 | */ |
@@ -17,7 +17,7 @@ discard block |
||
| 17 | 17 | throw new \Exception('In order to use annotation, you need to require doctrine ORM'); |
| 18 | 18 | } |
| 19 | 19 | |
| 20 | - $loader = require __DIR__ . '/../../../../autoload.php'; |
|
| 20 | + $loader = require __DIR__.'/../../../../autoload.php'; |
|
| 21 | 21 | |
| 22 | 22 | \Doctrine\Common\Annotations\AnnotationRegistry::registerLoader(array($loader, 'loadClass')); |
| 23 | 23 | \Doctrine\Common\Annotations\AnnotationRegistry::registerFile(__DIR__.'/../../Annotation/GraphQLAnnotation.php'); |
@@ -41,7 +41,7 @@ discard block |
||
| 41 | 41 | |
| 42 | 42 | $entityName = substr($file->getFilename(), 0, -4); |
| 43 | 43 | if (preg_match('#namespace (.+);#', $fileContent, $namespace)) { |
| 44 | - $className = $namespace[1] . '\\' . $entityName; |
|
| 44 | + $className = $namespace[1].'\\'.$entityName; |
|
| 45 | 45 | } else { |
| 46 | 46 | $className = $entityName; |
| 47 | 47 | } |
@@ -116,7 +116,7 @@ discard block |
||
| 116 | 116 | $alias => [ |
| 117 | 117 | 'type' => 'enum', |
| 118 | 118 | 'config' => [ |
| 119 | - 'description' => $entityName . ' type', |
|
| 119 | + 'description' => $entityName.' type', |
|
| 120 | 120 | ], |
| 121 | 121 | ] |
| 122 | 122 | ]; |
@@ -186,7 +186,7 @@ discard block |
||
| 186 | 186 | $alias => [ |
| 187 | 187 | 'type' => $type, |
| 188 | 188 | 'config' => [ |
| 189 | - 'description' => $entityName . ' type', |
|
| 189 | + 'description' => $entityName.' type', |
|
| 190 | 190 | 'fields' => [], |
| 191 | 191 | ], |
| 192 | 192 | ] |
@@ -294,7 +294,7 @@ discard block |
||
| 294 | 294 | } |
| 295 | 295 | |
| 296 | 296 | $type = explode('\\', $type); |
| 297 | - $type = $type[count($type)-1]; |
|
| 297 | + $type = $type[count($type) - 1]; |
|
| 298 | 298 | |
| 299 | 299 | // Get the graphQL type representation |
| 300 | 300 | // Specific case for ID and relation |