@@ -112,7 +112,7 @@ |
||
| 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: |
@@ -45,7 +45,7 @@ |
||
| 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 | } |
@@ -26,7 +26,7 @@ |
||
| 26 | 26 | /** |
| 27 | 27 | * @return string |
| 28 | 28 | */ |
| 29 | - public function getDeprecationReason():?string; |
|
| 29 | + public function getDeprecationReason(): ?string; |
|
| 30 | 30 | |
| 31 | 31 | /** |
| 32 | 32 | * @return bool |
@@ -53,7 +53,7 @@ discard block |
||
| 53 | 53 | } |
| 54 | 54 | |
| 55 | 55 | if (is_numeric($complexity)) { |
| 56 | - return function ($childrenComplexity) use ($complexity) { |
|
| 56 | + return function($childrenComplexity) use ($complexity) { |
|
| 57 | 57 | return $childrenComplexity + $complexity; |
| 58 | 58 | }; |
| 59 | 59 | } |
@@ -65,7 +65,7 @@ discard block |
||
| 65 | 65 | |
| 66 | 66 | $el = new ExpressionLanguage(); |
| 67 | 67 | |
| 68 | - return function ($childrenComplexity, $args) use ($el, $complexity) { |
|
| 68 | + return function($childrenComplexity, $args) use ($el, $complexity) { |
|
| 69 | 69 | return $el->evaluate($complexity, array_merge($args, ['children_complexity' => $childrenComplexity])); |
| 70 | 70 | }; |
| 71 | 71 | } |