src/Asserts/Categories/AssertComparisonTrait.php
public static function assertLooselyEquals($actual, $expected, Throwable $exception)
    {
        /** @noinspection TypeUnsafeComparisonInspection This assertion is wanted to be unsafe type. */
        static::makeAssertion($actual == $expected, $exception);
        return $actual;
    }
public static function assertLooselyEquals($actual, $expected, Throwable $exception)
    {
        /** @noinspection TypeUnsafeComparisonInspection This assertion is wanted to be unsafe type. */
        static::makeAssertion($actual == $expected, $exception);
        return $actual;
    }
public static function assertLooselyEquals ( $ actual , $ expected , Throwable $ exception ) { /** @noinspection TypeUnsafeComparisonInspection This assertion is wanted to be unsafe type. */ static :: makeAssertion ( $ actual == $ expected , $ exception ) ; return $ actual ; }
Asserts that the given values are loosely equals.

@param mixed $actual The actual value to test.
@param mixed $expected The expected value.
@param Throwable $exception The exception to throw if the assertion fails.
@return mixed The actual value tested.
Asserts that the given values are loosely equals .