Skip to content

Commit bf01aae

Browse files
author
Kirill Nesmeyanov
committed
Apply phpcs
1 parent 5fec30c commit bf01aae

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

src/Node/Stmt/Callable/ParameterNode.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,6 @@ public function jsonSerialize(): array
6767
'output' => $this->output,
6868
'variadic' => $this->variadic,
6969
'optional' => $this->optional,
70-
], static fn (mixed $value): bool => $value !== null);
70+
], static fn(mixed $value): bool => $value !== null);
7171
}
7272
}

src/Node/Stmt/CallableTypeNode.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,6 @@ public function jsonSerialize(): array
2222
'name' => $this->name->toString(),
2323
'parameters' => $this->parameters,
2424
'type' => $this->type,
25-
], static fn (mixed $value): bool => $value !== null);
25+
], static fn(mixed $value): bool => $value !== null);
2626
}
2727
}

src/Node/Stmt/ClassConstMaskNode.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,6 @@ public function jsonSerialize(): array
2727
'kind' => TypeKind::CLASS_CONST_MASK_KIND,
2828
'class' => $this->class->toString(),
2929
'constant' => $this->constant?->toString(),
30-
], static fn (mixed $value): bool => $value !== null);
30+
], static fn(mixed $value): bool => $value !== null);
3131
}
3232
}

src/Node/Stmt/NamedTypeNode.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,6 @@ public function jsonSerialize(): array
3131
'name' => $this->name->toString(),
3232
'arguments' => $this->arguments,
3333
'fields' => $this->fields,
34-
], static fn (mixed $value): bool => $value !== null);
34+
], static fn(mixed $value): bool => $value !== null);
3535
}
3636
}

src/Node/Stmt/Template/ArgumentNode.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,6 @@ public function jsonSerialize(): array
2727
return \array_filter([
2828
'hint' => $this->hint,
2929
'value' => $this->value,
30-
], static fn (mixed $value): bool => $value !== null);
30+
], static fn(mixed $value): bool => $value !== null);
3131
}
3232
}

0 commit comments

Comments
 (0)