Since $encoder is declared private, accessing it with static will lead to errors in possible sub-classes; you can either use self, or increase the visibility of $encoder to at least protected.
Loading history...
34
}
35
36
/**
37
* {@inheritDoc}
38
*/
39
4
public static function decode($globalId): ?NodeInterface
Since $encoder is declared private, accessing it with static will lead to errors in possible sub-classes; you can either use self, or increase the visibility of $encoder to at least protected.