Completed
Push — master ( 4bb4eb...402013 )
by Arthur
03:35
created
src/Schema/Resolve/CallableResolver.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
      */
21 21
     protected function createFunction(array $config, Field $field)
22 22
     {
23
-        return function ($node, array $arguments, ResolveInfo $info) {
23
+        return function($node, array $arguments, ResolveInfo $info) {
24 24
             $resolveConfig = $this->getResolveConfig($info);
25 25
 
26 26
             $function = $resolveConfig['function'];
Please login to merge, or discard this patch.
src/Schema/Resolve/DoctrineResolver.php 1 patch
Spacing   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
      */
36 36
     protected function createFunction(array $config, Field $field)
37 37
     {
38
-        return function ($node, array $arguments, ResolveInfo $info) {
38
+        return function($node, array $arguments, ResolveInfo $info) {
39 39
             $resolveConfig = $this->getResolveConfig($info);
40 40
 
41 41
             $resolveConfig = $resolveConfig + [
@@ -44,8 +44,7 @@  discard block
 block discarded – undo
44 44
 
45 45
             if (!isset($resolveConfig['method'])) {
46 46
                 $resolveConfig['method']       = $info->returnType instanceof ListOfType ?
47
-                    'findBy' :
48
-                    'findOneBy';
47
+                    'findBy' : 'findOneBy';
49 48
                 $resolveConfig['array_params'] = true;
50 49
             }
51 50
 
Please login to merge, or discard this patch.
src/Schema/SchemaFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -168,7 +168,7 @@
 block discarded – undo
168 168
             }
169 169
 
170 170
             $typeName = $field->getType();
171
-            $field->setResolvedType(function () use ($typeName) {
171
+            $field->setResolvedType(function() use ($typeName) {
172 172
                 return $this->typeResolver->resolveType($typeName);
173 173
             });
174 174
         }
Please login to merge, or discard this patch.
src/Schema/Resolve/PropertyResolver.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
      */
21 21
     protected function createFunction(array $config, Field $field)
22 22
     {
23
-        return function ($node, array $arguments, ResolveInfo $info) {
23
+        return function($node, array $arguments, ResolveInfo $info) {
24 24
             $resolveConfig = $this->getResolveConfig($info);
25 25
 
26 26
             $function = $resolveConfig['function'];
Please login to merge, or discard this patch.
src/Mapping/Guess/DoctrineGuesser.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,6 @@
 block discarded – undo
20 20
     private $metadataFactory;
21 21
 
22 22
     /**
23
-     * @param ClassMetadataFactory $metadataFactory
24 23
      */
25 24
     public function __construct(ObjectManager $objectManager)
26 25
     {
Please login to merge, or discard this patch.
src/Mapping/Guess/PropertyGuesser.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,6 @@
 block discarded – undo
28 28
 
29 29
     /**
30 30
      * @param string       $className
31
-     * @param FieldContext $field
32 31
      * @return string|null
33 32
      */
34 33
     private function getAccessor($className, FieldContext $fieldContext)
Please login to merge, or discard this patch.
src/Mapping/Context/FieldContext.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
      */
21 21
     public function __construct(Field $field, FieldContainer $container, SchemaContainer $schema)
22 22
     {
23
-        $this->field     = $field;
23
+        $this->field = $field;
24 24
         parent::__construct($container, $schema);
25 25
     }
26 26
 
Please login to merge, or discard this patch.