-
Notifications
You must be signed in to change notification settings - Fork 49
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Description
PHPStorm warns that the following code is incorrect, because $user_developer->convertUser() returns \Drupal\apigee_edge\Structure\UserToDeveloperConversionResult() and not a developer interface.
$developer = $user_developer->convertUser($account);
$developer->setDeveloperId($developer_id);
$developer->enforceIsNew(FALSE);
It also occurred to me if this code is dead or how this potentially fatal error has not been recognized so far.
Apigee Info
N/A
Steps to Reproduce
N/A
Actual Behavior
N/A
Expected Behavior
N/A
Screenshots
N/A
Notes
N/A
Version Info
4.0.2
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working