@@ -1504,7 +1504,7 @@ public static function exponentialMovingAverage(array $real, int $timePeriod): a
15041504 * @return int Returns the error code identified by one of the TRADER_ERR_* constants.
15051505 * @throws \Exception
15061506 */
1507- public static function errorNumber (): integer
1507+ public static function errorNumber (): int
15081508 {
15091509 return static ::errno ();
15101510 }
@@ -1547,7 +1547,7 @@ public static function mathFloor(array $real): array
15471547 * @return int Returns the compatibility mode id which can be identified by TRADER_COMPATIBILITY_* series of constants.
15481548 * @throws \Exception
15491549 */
1550- public static function getCompatibilityMode (): integer
1550+ public static function getCompatibilityMode (): int
15511551 {
15521552 return static ::get_compat ();
15531553 }
@@ -1562,7 +1562,7 @@ public static function getCompatibilityMode(): integer
15621562 * @return int Returns the unstable period factor for the corresponding function.
15631563 * @throws \Exception
15641564 */
1565- public static function getUnstablePeriod (integer $ functionId ): integer
1565+ public static function getUnstablePeriod (int $ functionId ): int
15661566 {
15671567 return static ::get_unstable_period ($ functionId );
15681568 }
@@ -2242,7 +2242,7 @@ public static function parabolicSARExtended(array $high, array $low, float $star
22422242 *
22432243 * @throws \Exception
22442244 */
2245- public static function setCompatibilityMode (integer $ compatId )
2245+ public static function setCompatibilityMode (int $ compatId )
22462246 {
22472247 static ::set_compat ($ compatId );
22482248 }
@@ -2256,7 +2256,7 @@ public static function setCompatibilityMode(integer $compatId)
22562256 *
22572257 * @throws \Exception
22582258 */
2259- public static function setUnstablePeriod (integer $ functionId , int $ timePeriod )
2259+ public static function setUnstablePeriod (int $ functionId , int $ timePeriod )
22602260 {
22612261 static ::set_unstable_period ($ functionId , $ timePeriod );
22622262 }
0 commit comments