Skip to content

Commit

Permalink
Deprecate CallableTrait::__construct
Browse files Browse the repository at this point in the history
All internal consumers have their own constructors now, and we don't
expect external classes to use it.
  • Loading branch information
weirdan committed Mar 12, 2023
1 parent b3b1675 commit 703f939
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Psalm/Type/Atomic/CallableTrait.php
Expand Up @@ -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',
Expand Down

0 comments on commit 703f939

Please sign in to comment.