src/Platform/Updates.php
public function getStatus(): bool
    {
        foreach ($this->requestVersion() as $key => $version) {
            if (! Str::contains($key, 'dev')) {
                continue;
            }

            if (version_compare($version['version'], $this->currentVersion, '>')) {
                return true;
            }
        }

        return false;
    }
public function getStatus(): bool
    {
        foreach ($this->requestVersion() as $key => $version) {
            if (! Str::contains($key, 'dev')) {
                continue;
            }

            if (version_compare($version['version'], $this->currentVersion, '>')) {
                return true;
            }
        }

        return false;
    }
public function getStatus ( ) : bool { foreach ( $ this -> requestVersion ( ) as $ key => $ version ) { if ( ! Str :: contains ( $ key , 'dev' ) ) { continue ; } if ( version_compare ( $ version [ 'version' ] , $ this -> currentVersion , '>' ) ) { return true ; } } return false ; }
Verify that the version of the package
you are using is the latest version.

@return bool
Verify that the version of the package you are using is the latest version .