Skip to content

Commit e242c34

Browse files
committed
CS FIXES
1 parent f59edb7 commit e242c34

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/phpDocumentor/Reflection/Php/Factory/Argument.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,6 @@ protected function doCreate($object, StrategyContainer $strategies, ?Context $co
6868
$default = $this->valueConverter->prettyPrintExpr($object->default);
6969
}
7070

71-
return new ArgumentDescriptor((string)$object->var->name, $default, $object->byRef, $object->variadic);
71+
return new ArgumentDescriptor((string) $object->var->name, $default, $object->byRef, $object->variadic);
7272
}
7373
}

src/phpDocumentor/Reflection/PrettyPrinter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,6 @@ public function pScalar_String(String_ $node): string
5757
return $node->value;
5858
}
5959

60-
return (string)$node->getAttribute('originalValue');
60+
return (string) $node->getAttribute('originalValue');
6161
}
6262
}

tests/unit/phpDocumentor/Reflection/Php/Factory/ClassConstantIteratorTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@ protected function tearDown()
4242
public function testIterateProps()
4343
{
4444
$const1 = new Const_('\Space\MyClass::MY_CONST1', new Variable('a'));
45-
$const1->fqsen = new Fqsen((string)$const1->name);
45+
$const1->fqsen = new Fqsen((string) $const1->name);
4646
$const2 = new Const_('\Space\MyClass::MY_CONST2', new Variable('b'));
47-
$const2->fqsen = new Fqsen((string)$const2->name);
47+
$const2->fqsen = new Fqsen((string) $const2->name);
4848

4949
$classConstantNode = new ClassConst([$const1, $const2]);
5050

0 commit comments

Comments
 (0)