@@ -1,6 +1,6 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | namespace GraphQL\Doctrine\Factory; |
| 6 | 6 | |
@@ -23,7 +23,7 @@ discard block |
||
| 23 | 23 | $typeName = Utils::getTypeName($className); |
| 24 | 24 | $description = $this->getDescription($className); |
| 25 | 25 | |
| 26 | - $fieldGetter = function () use ($className): array { |
|
| 26 | + $fieldGetter = function() use ($className): array { |
|
| 27 | 27 | $factory = new OutputFieldsConfigurationFactory($this->types, $this->entityManager); |
| 28 | 28 | $configuration = $factory->create($className); |
| 29 | 29 | |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | namespace GraphQL\Doctrine; |
| 6 | 6 | |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | namespace GraphQL\Doctrine\Factory; |
| 6 | 6 | |
@@ -31,6 +31,9 @@ |
||
| 31 | 31 | */ |
| 32 | 32 | private $id; |
| 33 | 33 | |
| 34 | + /** |
|
| 35 | + * @param string $id |
|
| 36 | + */ |
|
| 34 | 37 | public function __construct(EntityManager $entityManager, string $className, ?string $id) |
| 35 | 38 | { |
| 36 | 39 | $this->entityManager = $entityManager; |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | namespace GraphQL\Doctrine\Definition; |
| 6 | 6 | |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | namespace GraphQL\Doctrine\Factory; |
| 6 | 6 | |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | namespace GraphQL\Doctrine\Factory; |
| 6 | 6 | |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | namespace GraphQL\Doctrine\Factory; |
| 6 | 6 | |