1
0
mirror of https://github.com/danog/psalm.git synced 2025-01-22 05:41:20 +01:00

Prevent duplicate properties

This commit is contained in:
Matthew Brown 2018-03-26 23:37:35 -04:00
parent 58115599a1
commit 7d7f5d00a1
2 changed files with 5 additions and 5 deletions

View File

@ -16,11 +16,6 @@ trait CallableTrait
*/ */
public $return_type; public $return_type;
/**
* @var string
*/
public $value;
/** /**
* Constructs a new instance of a generic type * Constructs a new instance of a generic type
* *

View File

@ -5,6 +5,11 @@ class TCallable extends \Psalm\Type\Atomic
{ {
use CallableTrait; use CallableTrait;
/**
* @var string
*/
public $value;
public function __toString() public function __toString()
{ {
$param_string = ''; $param_string = '';