1
0
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:
Bruce Weirdan 2023-03-12 03:29:02 -04:00
parent 3b3d07e555
commit 47f792ea12
No known key found for this signature in database
GPG Key ID: CFC3AAB181751B0D

View File

@ -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',