Skip to content

Commit 76ce600

Browse files
committed
Fixed inproper use of static::
1 parent 4e511b0 commit 76ce600

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/Gitlab/Api/Projects.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
class Projects extends AbstractApi
66
{
7-
public function all($page = 1, $per_page = static::PER_PAGE)
7+
public function all($page = 1, $per_page = self::PER_PAGE)
88
{
99
return $this->get('projects', array(
1010
'page' => $page,
@@ -56,7 +56,7 @@ public function removeMember($project_id, $user_id)
5656
return $this->delete('projects/'.urlencode($project_id).'/members/'.urldecode($user_id));
5757
}
5858

59-
public function hooks($project_id, $page = 1, $per_page = static::PER_PAGE)
59+
public function hooks($project_id, $page = 1, $per_page = self::PER_PAGE)
6060
{
6161
return $this->get('projects/'.urlencode($project_id).'/hooks', array(
6262
'page' => $page,

0 commit comments

Comments
 (0)