Hi
in a discussion with the Larastan team I was informaned that the sub for the php trader extension is not correct
<?php // generated by https://www.devsense.com/
/**
* Exponential Moving Average
*
* @param array $real Array of real values.
* @param int $timePeriod Number of period. Valid range from 2 to 100000.
* @return array Returns an array with calculated data or false on failure.
*/
function trader_ema($real, $timePeriod) { /* function body is hidden */ }
as far as I understand the @return should be something like array|false as that is what the function can return
i tried to find the stub file, but failed so far