Skip to content
This repository was archived by the owner on Jul 9, 2019. It is now read-only.
This repository was archived by the owner on Jul 9, 2019. It is now read-only.

Call to a member function getPassword() on null in Majora\Component\OAuth\Entity\Token #30

Description

@Raphy

The prototype of the constructor set the variable $account to null by default.

But in the code, it calls the method getPassword of the account with no verification of the existence of $account.

So when we give $account = null, we have an error :

PHP Fatal error:  Call to a member function getPassword() on null in /src/Majora/Component/OAuth/Entity/Token.php on line 61

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions