Skip to content

Commit

Permalink
Debug
Browse files Browse the repository at this point in the history
  • Loading branch information
danog committed Jun 10, 2022
1 parent 59f13a9 commit 9b25dc2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Psalm/Storage/FunctionLikeStorage.php
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,9 @@ public function getSignature(bool $allow_newlines): string
*/
public function setParams(array $params): void
{
if ($this->cased_name === 'toArray') {
var_dump($params);
}
$this->params = $params;
$param_names = array_column($params, 'name');
$this->param_lookup = array_fill_keys($param_names, true);
Expand Down

0 comments on commit 9b25dc2

Please sign in to comment.