Skip to content

Commit d236f41

Browse files
committed
Fixed all instances of static::
1 parent 98a3159 commit d236f41

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

lib/Gitlab/Api/Groups.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
class Groups 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('groups', array(
1010
'page' => $page,

lib/Gitlab/Api/Issues.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
class Issues extends AbstractApi
66
{
7-
public function all($project_id = null, $page = 1, $per_page = static::PER_PAGE)
7+
public function all($project_id = null, $page = 1, $per_page = self::PER_PAGE)
88
{
99
$path = $project_id === null ? 'issues' : 'projects/'.urlencode($project_id).'/issues';
1010

lib/Gitlab/Api/MergeRequests.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
class MergeRequests extends AbstractApi
66
{
7-
public function all($project_id, $page = 1, $per_page = static::PER_PAGE)
7+
public function all($project_id, $page = 1, $per_page = self::PER_PAGE)
88
{
99
return $this->get('projects/'.urlencode($project_id).'/merge_requests', array(
1010
'page' => $page,

lib/Gitlab/Api/Milestones.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
class Milestones extends AbstractApi
66
{
7-
public function all($project_id, $page = 1, $per_page = static::PER_PAGE)
7+
public function all($project_id, $page = 1, $per_page = self::PER_PAGE)
88
{
99
return $this->get('projects/'.urlencode($project_id).'/milestones', array(
1010
'page' => $page,

lib/Gitlab/Api/Repositories.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public function tags($project_id)
2020
return $this->get('projects/'.urlencode($project_id).'/repository/tags');
2121
}
2222

23-
public function commits($project_id, $page = 1, $per_page = static::PER_PAGE)
23+
public function commits($project_id, $page = 1, $per_page = self::PER_PAGE)
2424
{
2525
return $this->get('projects/'.urlencode($project_id).'/repository/commits', array(
2626
'page' => $page,

0 commit comments

Comments
 (0)