Pass parameter by reference
Reports the arguments in a function/method call that cannot be passed by reference.
Only variables and references returned from functions can be passed by reference. See Passing by Reference (php.net) for details.
PhpStorm 2023.3, Qodana for PHP 2023.3