src/Adapters/SQL.php
protected function unserialize($value)
    {
        if (is_numeric($value)) {
            $int = (int) $value;
            if ((string) $int === $value) {
                return $int;
            }

            $float = (float) $value;
            if ((string) $float === $value) {
                return $float;
            }

            return $value;
        }

        return unserialize($value);
    }
protected function unserialize($value)
    {
        if (is_numeric($value)) {
            $int = (int) $value;
            if ((string) $int === $value) {
                return $int;
            }

            $float = (float) $value;
            if ((string) $float === $value) {
                return $float;
            }

            return $value;
        }

        return unserialize($value);
    }
protected function unserialize ( $ value ) { if ( is_numeric ( $ value ) ) { $ int = ( int ) $ value ; if ( ( string ) $ int === $ value ) { return $ int ; } $ float = ( float ) $ value ; if ( ( string ) $ float === $ value ) { return $ float ; } return $ value ; } return unserialize ( $ value ) ; }
Numbers aren't serialized for storage size purposes.

@param mixed $value

@return mixed|int|float
Numbers aren t serialized for storage size purposes .