mirror of
https://github.com/danog/psalm.git
synced 2025-01-21 21:31:13 +01:00
Prevent duplicate properties
This commit is contained in:
parent
58115599a1
commit
7d7f5d00a1
@ -16,11 +16,6 @@ trait CallableTrait
|
||||
*/
|
||||
public $return_type;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $value;
|
||||
|
||||
/**
|
||||
* Constructs a new instance of a generic type
|
||||
*
|
||||
|
@ -5,6 +5,11 @@ class TCallable extends \Psalm\Type\Atomic
|
||||
{
|
||||
use CallableTrait;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $value;
|
||||
|
||||
public function __toString()
|
||||
{
|
||||
$param_string = '';
|
||||
|
Loading…
x
Reference in New Issue
Block a user