mirror of
https://github.com/danog/psalm.git
synced 2024-11-27 04:45:20 +01:00
Mark FunctionLikeStorage::setParams()/addParam() as internal
This commit is contained in:
parent
b91e00b03f
commit
9a78b2fbc8
@ -277,6 +277,8 @@ abstract class FunctionLikeStorage
|
||||
}
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @param list<FunctionLikeParameter> $params
|
||||
*/
|
||||
public function setParams(array $params): void
|
||||
@ -286,6 +288,9 @@ abstract class FunctionLikeStorage
|
||||
$this->param_lookup = array_fill_keys($param_names, true);
|
||||
}
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*/
|
||||
public function addParam(FunctionLikeParameter $param, bool $lookup_value = null): void
|
||||
{
|
||||
$this->params[] = $param;
|
||||
|
Loading…
Reference in New Issue
Block a user