CS fixes

parent 7e2d3973
...@@ -29,7 +29,7 @@ use PhpParser\Node\Stmt\ClassMethod; ...@@ -29,7 +29,7 @@ use PhpParser\Node\Stmt\ClassMethod;
final class NodeAdapterFactory final class NodeAdapterFactory
{ {
/** /**
* @param null|string|Node $parserNode * @param string|Node|null $parserNode
*/ */
public static function constructFromNode($parserNode): AdapterNodeInterface public static function constructFromNode($parserNode): AdapterNodeInterface
{ {
......
...@@ -35,7 +35,7 @@ final class UnknownTypeNode implements TypeNodeInterface ...@@ -35,7 +35,7 @@ final class UnknownTypeNode implements TypeNodeInterface
private $phpParserNodeType = ''; private $phpParserNodeType = '';
/** /**
* @param null|string|Node $node * @param string|Node|null $node
*/ */
public function __construct($node = null) public function __construct($node = null)
{ {
......
...@@ -32,7 +32,7 @@ final class Type ...@@ -32,7 +32,7 @@ final class Type
private $typeAsString; private $typeAsString;
/** /**
* @var null|Class_|Interface_ * @var Class_|Interface_|null
*/ */
private $ast; private $ast;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment