src/Traits/Auth/PasswordTrait.php
public function getDefaultPassword(): ?PasswordBroker
    {
        // By default, the Password Facade does not return the
        // any actual password broker, but rather an
        // instance of \Illuminate\Auth\Passwords\PasswordBrokerManager.
        // Therefore, we make sure only to obtain its
        // "default broker", to make sure that its only the guard
        // instance that we obtain.
        $manager = Password::getFacadeRoot();
        if (isset($manager)) {
            return $manager->broker();
        }
        return $manager;
    }
public function getDefaultPassword(): ?PasswordBroker
    {
        // By default, the Password Facade does not return the
        // any actual password broker, but rather an
        // instance of \Illuminate\Auth\Passwords\PasswordBrokerManager.
        // Therefore, we make sure only to obtain its
        // "default broker", to make sure that its only the guard
        // instance that we obtain.
        $manager = Password::getFacadeRoot();
        if (isset($manager)) {
            return $manager->broker();
        }
        return $manager;
    }
public function getDefaultPassword ( ) : ? PasswordBroker { // By default, the Password Facade does not return the // any actual password broker, but rather an // instance of \Illuminate\Auth\Passwords\PasswordBrokerManager. // Therefore, we make sure only to obtain its // "default broker", to make sure that its only the guard // instance that we obtain. $ manager = Password :: getFacadeRoot ( ) ; if ( isset ( $ manager ) ) { return $ manager -> broker ( ) ; } return $ manager ; }
Get a default password value, if any is available

@return PasswordBroker|null A default password value or Null if no default value is available
Get a default password value if any is available