Make function static again
This commit is contained in:
parent
2850c5acfa
commit
3a9dde8c3f
@ -4495,9 +4495,9 @@ class InternalDoc extends APIFactory
|
||||
*
|
||||
* @return int
|
||||
*/
|
||||
public function getId($id)
|
||||
public function getId($id, array $extra = [])
|
||||
{
|
||||
return $this->__call(__FUNCTION__, [$id]);
|
||||
return $this->__call(__FUNCTION__, [$id, $extra]);
|
||||
}
|
||||
/**
|
||||
* Get info about peer, returns an Info object.
|
||||
|
@ -319,7 +319,7 @@ trait PeerHandler
|
||||
*
|
||||
* @return int
|
||||
*/
|
||||
public static function getId($id)
|
||||
public function getId($id)
|
||||
{
|
||||
if (\is_array($id)) {
|
||||
switch ($id['_']) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user