Completed
Push — master ( 8e3b13...e5ed6d )
by Rafael
07:59
created
src/Form/TypeGuesser/DoctrineOrmTypeGuesser.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -85,7 +85,7 @@
 block discarded – undo
85 85
                 return new TypeGuess(TextType::class, [], Guess::MEDIUM_CONFIDENCE);
86 86
             case Type::SIMPLE_ARRAY:
87 87
             case Type::JSON_ARRAY:
88
-                return new TypeGuess(GraphQLType::class, ['graphql_type' => Types::listOf(Types::STRING) ], Guess::MEDIUM_CONFIDENCE);
88
+                return new TypeGuess(GraphQLType::class, ['graphql_type' => Types::listOf(Types::STRING)], Guess::MEDIUM_CONFIDENCE);
89 89
             case Type::TEXT:
90 90
                 return new TypeGuess(TextareaType::class, [], Guess::MEDIUM_CONFIDENCE);
91 91
             default:
Please login to merge, or discard this patch.
src/Form/TypeGuesser/GraphQLEnumTypeGuesser.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -82,7 +82,7 @@
 block discarded – undo
82 82
      *
83 83
      * @return TypeGuess|null
84 84
      */
85
-    protected function resolveDoctrineEnumBundleType($class, $property):?TypeGuess
85
+    protected function resolveDoctrineEnumBundleType($class, $property): ?TypeGuess
86 86
     {
87 87
         if (!class_exists('\Fresh\DoctrineEnumBundle\DBAL\Types\AbstractEnumType')) {
88 88
             return null;
Please login to merge, or discard this patch.
src/Form/Type/DateTimeType.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -27,9 +27,9 @@
 block discarded – undo
27 27
     public function buildForm(FormBuilderInterface $builder, array $options)
28 28
     {
29 29
         $transformer = new CallbackTransformer(
30
-            function ($value) {
30
+            function($value) {
31 31
             },
32
-            function ($value) {
32
+            function($value) {
33 33
             }
34 34
         );
35 35
         $builder->addModelTransformer($transformer);
Please login to merge, or discard this patch.
src/Command/DefinitionOptionsCommand.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -31,8 +31,8 @@
 block discarded – undo
31 31
     protected function configure()
32 32
     {
33 33
         $this->setName('graphql:definition:options')
34
-             ->setDescription('Expose all available options for one or all graphql definition extensions')
35
-             ->addArgument('extension', InputArgument::OPTIONAL, 'Show only options for given extension');
34
+                ->setDescription('Expose all available options for one or all graphql definition extensions')
35
+                ->addArgument('extension', InputArgument::OPTIONAL, 'Show only options for given extension');
36 36
     }
37 37
 
38 38
     /**
Please login to merge, or discard this patch.
src/Query/Node/Nodes.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -84,8 +84,8 @@
 block discarded – undo
84 84
 
85 85
                 $qb = $repo->createQueryBuilder('o', $findBy);
86 86
                 $entities = $qb->where($qb->expr()->in($findBy, $searchValues))
87
-                               ->getQuery()
88
-                               ->getResult();
87
+                                ->getQuery()
88
+                                ->getResult();
89 89
 
90 90
                 foreach ($entities as $searchValue => $entity) {
91 91
                     $expectedResultsOrder[md5($type.$searchValue)] = $entity;
Please login to merge, or discard this patch.
src/Resolver/DeferredBuffer.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -92,8 +92,8 @@
 block discarded – undo
92 92
             $repo = $this->registry->getRepository($class);
93 93
             $qb = $repo->createQueryBuilder('o', 'o.id');
94 94
             $entities = $qb->where($qb->expr()->in('o.id', $ids))
95
-                           ->getQuery()
96
-                           ->getResult();
95
+                            ->getQuery()
96
+                            ->getResult();
97 97
             self::$deferred[$class] = $entities;
98 98
         }
99 99
     }
Please login to merge, or discard this patch.
src/Resolver/ObjectFieldResolver.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -118,7 +118,7 @@
 block discarded – undo
118 118
             $this->deferredBuffer->add($value);
119 119
 
120 120
             return new Deferred(
121
-                function () use ($value) {
121
+                function() use ($value) {
122 122
                     $this->deferredBuffer->loadBuffer();
123 123
 
124 124
                     return $this->deferredBuffer->getLoadedEntity($value);
Please login to merge, or discard this patch.
Loader/Annotation/FieldDecorator/DoctrineFieldDefinitionDecorator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -112,7 +112,7 @@
 block discarded – undo
112 112
      *
113 113
      * @return string
114 114
      */
115
-    protected function getGraphQLType(?string $type):?string
115
+    protected function getGraphQLType(?string $type): ?string
116 116
     {
117 117
         switch ($type) {
118 118
             case DoctrineType::BOOLEAN:
Please login to merge, or discard this patch.
src/Definition/Traits/DeprecateTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
     /**
46 46
      * @return string
47 47
      */
48
-    public function getDeprecationReason():?string
48
+    public function getDeprecationReason(): ?string
49 49
     {
50 50
         return $this->deprecationReason;
51 51
     }
Please login to merge, or discard this patch.