Commit 2de3202f authored by Guillaume Perréal's avatar Guillaume Perréal
Browse files

Corrections PHPStan.

parent 7ec9e4f9
......@@ -116,7 +116,7 @@ class ClassFilterBuilder
}
/**
* @param type $id
* @param string $id
*
* @return Reference
*/
......
......@@ -35,7 +35,7 @@ abstract class AbstractNamespace extends Base
private $children = [];
/**
* @param type $namespaceName
* @param string $namespaceName
*
* @return NamespaceInterface
*/
......
......@@ -33,6 +33,11 @@ class Member extends TypedSymbol implements MethodInterface, AttributeInterface
*/
private $visibility;
/**
* @param string $symbol
* @param string|bool $type
* @param string $visibility
*/
public function __construct($symbol, $type = false, $visibility = self::UNKNOWN)
{
parent::__construct($symbol, $type);
......
......@@ -29,7 +29,7 @@ use Irstea\PlantUmlBundle\Writer\WriterInterface;
class TypedSymbol implements WritableInterface
{
/**
* @var string
* @var string|bool
*/
private $type;
......@@ -39,8 +39,8 @@ class TypedSymbol implements WritableInterface
private $symbol;
/**
* @param type $symbol
* @param type $type
* @param string $symbol
* @param string|bool $type
*/
public function __construct($symbol, $type = false)
{
......
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