mirror of
https://github.com/danog/psalm.git
synced 2024-11-27 04:45:20 +01:00
Deprecate CallableTrait::__construct
All internal consumers have their own constructors now, and we don't expect external classes to use it.
This commit is contained in:
parent
3b3d07e555
commit
47f792ea12
@ -38,6 +38,7 @@ trait CallableTrait
|
||||
* Constructs a new instance of a generic type
|
||||
*
|
||||
* @param list<FunctionLikeParameter> $params
|
||||
* @deprecated
|
||||
*/
|
||||
public function __construct(
|
||||
string $value = 'callable',
|
||||
|
Loading…
Reference in New Issue
Block a user