Skip to content

Commit

Permalink
Fix typo in gets method (must be nonstatic)
Browse files Browse the repository at this point in the history
  • Loading branch information
krylov123 committed Aug 2, 2017
1 parent d58b90c commit 3627b82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/TextRuApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ public static function get($userkey, $uid, $jsonvisible = null)
return $result;
}

public static function gets($uid, $jsonvisible = null)
public function gets($uid, $jsonvisible = null)
{
return $this::add($this->userkey, $uid, $jsonvisible);
}
Expand Down

0 comments on commit 3627b82

Please sign in to comment.