Skip to content

Commit eccb1bc

Browse files
patinthehatactions-user
authored andcommitted
Fix styling
1 parent bc0eafe commit eccb1bc

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

src/Results/Nodes/ParameterNode.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class ParameterNode implements ResultNode
1616
/** @var string|null */
1717
public $type;
1818

19-
/** @var array|mixed|ArrayItemNode|ArrayNode|AssignmentNode|BinaryOperationNode|FunctionCallNode|MethodCallNode|PropertyAccessNode|Scalar\NumberNode|Scalar\StringNode|StaticMethodCallNode|StaticPropertyAccessNode|VariableNode|Node\Arg|null */
19+
/** @var array|mixed|ArrayItemNode|ArrayNode|AssignmentNode|BinaryOperationNode|FunctionCallNode|MethodCallNode|PropertyAccessNode|Scalar\NumberNode|Scalar\StringNode|StaticMethodCallNode|StaticPropertyAccessNode|VariableNode|Node\Arg|null */
2020
public $default;
2121

2222
public function __construct(Node\Param $node)

src/Support/StatementTransformer.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public function parserNodesToResultNode(array $nodes)
2020
{
2121
$result = [];
2222

23-
foreach($nodes as $node) {
23+
foreach ($nodes as $node) {
2424
$result[] = $this->parserNodeToResultNode($node);
2525
}
2626

src/Support/helpers.php

+5-2
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
11
<?php
22

33
if (! function_exists('optional')) {
4-
function optional($value) {
4+
function optional($value)
5+
{
56
if (! $value) {
67
return new class {
7-
public function __get($name) {
8+
public function __get($name)
9+
{
810
return null;
911
}
12+
1013
public function __call($name, $arguments)
1114
{
1215
return null;

0 commit comments

Comments
 (0)