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:
parent
58115599a1
commit
7d7f5d00a1
@ -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
|
||||||
*
|
*
|
||||||
|
@ -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 = '';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user