Skip to content

Commit 787bde9

Browse files
author
Matt Humphrey
committed
Set return type string for diff()
1 parent 60e5e22 commit 787bde9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/Gitlab/Api/Repositories.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ public function compare($project_id, $fromShaOrMaster, $toShaOrMaster)
102102
/**
103103
* @param int $project_id
104104
* @param string $sha
105-
* @return mixed
105+
* @return string
106106
*/
107107
public function diff($project_id, $sha)
108108
{

lib/Gitlab/Model/Project.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,7 @@ public function createCommitComment($ref, $note, array $params = array())
436436

437437
/**
438438
* @param string $sha
439-
* @return mixed
439+
* @return string
440440
*/
441441
public function diff($sha)
442442
{

0 commit comments

Comments
 (0)