Skip to content

Commit e765231

Browse files
Apply php-cs-fixer changes
1 parent 7ee5acc commit e765231

1 file changed

Lines changed: 7 additions & 8 deletions

File tree

src/Server/ServerConfig.php

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -48,14 +48,12 @@ class ServerConfig
4848
* @throws InvariantViolation
4949
*/
5050
public static function create(
51-
array $config = []): self
52-
{
51+
array $config = []
52+
): self {
5353
$instance = new static();
5454
foreach ($config as $key => $value) {
55-
switch ($key ) {
55+
switch ($key) {
5656
case 'schema':
57-
58-
5957
$instance->setSchema($value);
6058
break;
6159
case 'rootValue':
@@ -65,16 +63,17 @@ public static function create(
6563
$instance->setContext($value);
6664
break;
6765
case 'fieldResolver':
68-
$instance->setFieldResolver($value
66+
$instance->setFieldResolver(
67+
$value
6968
);
7069
break;
7170
case 'validationRules':
7271
$instance->setValidationRules($value);
7372
break;
7473
case 'queryBatching':
75-
7674
$instance->setQueryBatching(
77-
$value);
75+
$value
76+
);
7877
break;
7978
case 'debugFlag':
8079
$instance->setDebugFlag($value);

0 commit comments

Comments
 (0)