@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | |
| 4 | 4 | /** |
| 5 | 5 | * This file is part of phpDocumentor. |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | |
| 4 | 4 | /** |
| 5 | 5 | * This file is part of phpDocumentor. |
@@ -1,5 +1,5 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | |
| 4 | 4 | /** |
| 5 | 5 | * This file is part of phpDocumentor. |
@@ -62,7 +62,7 @@ discard block |
||
| 62 | 62 | $classElement = new ClassElement( |
| 63 | 63 | $object->fqsen, |
| 64 | 64 | $docBlock, |
| 65 | - $object->extends ? new Fqsen('\\' . $object->extends) : null, |
|
| 65 | + $object->extends ? new Fqsen('\\'.$object->extends) : null, |
|
| 66 | 66 | $object->isAbstract(), |
| 67 | 67 | $object->isFinal(), |
| 68 | 68 | new Location($object->getLine()) |
@@ -71,7 +71,7 @@ discard block |
||
| 71 | 71 | if (isset($object->implements)) { |
| 72 | 72 | foreach ($object->implements as $interfaceClassName) { |
| 73 | 73 | $classElement->addInterface( |
| 74 | - new Fqsen('\\' . $interfaceClassName->toString()) |
|
| 74 | + new Fqsen('\\'.$interfaceClassName->toString()) |
|
| 75 | 75 | ); |
| 76 | 76 | } |
| 77 | 77 | } |
@@ -81,7 +81,7 @@ discard block |
||
| 81 | 81 | switch (get_class($stmt)) { |
| 82 | 82 | case TraitUse::class: |
| 83 | 83 | foreach ($stmt->traits as $use) { |
| 84 | - $classElement->addUsedTrait(new Fqsen('\\' . $use->toString())); |
|
| 84 | + $classElement->addUsedTrait(new Fqsen('\\'.$use->toString())); |
|
| 85 | 85 | } |
| 86 | 86 | break; |
| 87 | 87 | case PropertyNode::class: |
@@ -1,5 +1,5 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | |
| 4 | 4 | /** |
| 5 | 5 | * This file is part of phpDocumentor. |
@@ -56,9 +56,9 @@ discard block |
||
| 56 | 56 | if ($object->getReturnType() !== null) { |
| 57 | 57 | $typeResolver = new TypeResolver(); |
| 58 | 58 | if ($object->getReturnType() instanceof NullableType) { |
| 59 | - $typeString = '?' . $object->getReturnType()->type; |
|
| 59 | + $typeString = '?'.$object->getReturnType()->type; |
|
| 60 | 60 | } else { |
| 61 | - $typeString = (string) $object->getReturnType(); |
|
| 61 | + $typeString = (string)$object->getReturnType(); |
|
| 62 | 62 | } |
| 63 | 63 | |
| 64 | 64 | $returnType = $typeResolver->resolve($typeString, $context); |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | |
| 4 | 4 | /** |
| 5 | 5 | * This file is part of phpDocumentor. |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | |
| 4 | 4 | /** |
| 5 | 5 | * This file is part of phpDocumentor. |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | |
| 4 | 4 | /** |
| 5 | 5 | * This file is part of phpDocumentor. |
@@ -1,5 +1,5 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | |
| 4 | 4 | /** |
| 5 | 5 | * This file is part of phpDocumentor. |
@@ -60,9 +60,9 @@ discard block |
||
| 60 | 60 | if ($object->getReturnType() !== null) { |
| 61 | 61 | $typeResolver = new TypeResolver(); |
| 62 | 62 | if ($object->getReturnType() instanceof NullableType) { |
| 63 | - $typeString = '?' . $object->getReturnType()->type; |
|
| 63 | + $typeString = '?'.$object->getReturnType()->type; |
|
| 64 | 64 | } else { |
| 65 | - $typeString = (string) $object->getReturnType(); |
|
| 65 | + $typeString = (string)$object->getReturnType(); |
|
| 66 | 66 | } |
| 67 | 67 | |
| 68 | 68 | $returnType = $typeResolver->resolve($typeString, $context); |
@@ -1,5 +1,5 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | |
| 4 | 4 | /** |
| 5 | 5 | * This file is part of phpDocumentor. |
@@ -72,7 +72,7 @@ discard block |
||
| 72 | 72 | break; |
| 73 | 73 | case TraitUse::class: |
| 74 | 74 | foreach ($stmt->traits as $use) { |
| 75 | - $trait->addUsedTrait(new Fqsen('\\' . $use->toString())); |
|
| 75 | + $trait->addUsedTrait(new Fqsen('\\'.$use->toString())); |
|
| 76 | 76 | } |
| 77 | 77 | break; |
| 78 | 78 | } |