src/Chippyash/Math/Type/Traits/CheckIntTypes.php
protected function checkIntTypes(NumericTypeInterface $a, NumericTypeInterface $b)
    {
        $a1 = ($a instanceof IntType ? $a : $a->asIntType());
        $b1 = ($a instanceof IntType ? $b : $b->asIntType());

        return [$a1, $b1];
    }
protected function checkIntTypes(NumericTypeInterface $a, NumericTypeInterface $b)
    {
        $a1 = ($a instanceof IntType ? $a : $a->asIntType());
        $b1 = ($a instanceof IntType ? $b : $b->asIntType());

        return [$a1, $b1];
    }
protected function checkIntTypes ( NumericTypeInterface $ a , NumericTypeInterface $ b ) { $ a1 = ( $ a instanceof IntType ? $ a : $ a -> asIntType ( ) ) ; $ b1 = ( $ a instanceof IntType ? $ b : $ b -> asIntType ( ) ) ; return [ $ a1 , $ b1 ] ; }
Check for integer type, converting if necessary

@param  NumericTypeInterface $a
@param  NumericTypeInterface $b
@return array [IntType, IntType]
Check for integer type converting if necessary