Skip to content

Commit 4f55a7d

Browse files
Fixed typos
1 parent 64c88cd commit 4f55a7d

File tree

6 files changed

+9
-10
lines changed

6 files changed

+9
-10
lines changed

src/Api/Issues.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ public function getTimeStats($project_id, int $issue_iid)
347347
* @param int|string $project_id The ID or URL-encoded path of the project owned by the authenticated user
348348
* @param int $issue_iid The internal ID of a project’s issue
349349
*
350-
* @return array|string issue object if change is made, empty string otherwise
350+
* @return mixed
351351
*/
352352
public function subscribe($project_id, int $issue_iid)
353353
{
@@ -363,7 +363,7 @@ public function subscribe($project_id, int $issue_iid)
363363
* @param int|string $project_id The ID or URL-encoded path of the project owned by the authenticated user
364364
* @param int $issue_iid The internal ID of a project’s issue
365365
*
366-
* @return array|string issue object if change is made, empty string otherwise
366+
* @return mixed
367367
*/
368368
public function unsubscribe($project_id, int $issue_iid)
369369
{

src/Api/Jobs.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ public function artifactByRefName($project_id, string $ref_name, string $job_nam
173173
* @param int|string $project_id
174174
* @param int $job_id
175175
*
176-
* @return string
176+
* @return mixed
177177
*/
178178
public function trace($project_id, int $job_id)
179179
{

src/Api/Projects.php

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -605,7 +605,7 @@ public function hook($project_id, int $hook_id)
605605
* @param int|string $project_id
606606
* @param array $parameters
607607
*
608-
* @return array
608+
* @return mixed
609609
*/
610610
public function users($project_id, array $parameters = [])
611611
{
@@ -620,8 +620,7 @@ public function users($project_id, array $parameters = [])
620620
* @param int|string $project_id
621621
* @param array $parameters
622622
*
623-
* @return array
624-
* List of project issues
623+
* @return mixed
625624
*/
626625
public function issues($project_id, array $parameters = [])
627626
{
@@ -635,7 +634,7 @@ public function issues($project_id, array $parameters = [])
635634
*
636635
* @param int|string $project_id
637636
*
638-
* @return array
637+
* @return mixed
639638
*/
640639
public function boards($project_id)
641640
{

src/Api/Repositories.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,7 @@ public function compare($project_id, string $fromShaOrMaster, string $toShaOrMas
430430
* @param int|string $project_id
431431
* @param string $sha
432432
*
433-
* @return string
433+
* @return mixed
434434
*/
435435
public function diff($project_id, string $sha)
436436
{

src/Api/Snippets.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ public function update($project_id, int $snippet_id, array $params)
7272
* @param int|string $project_id
7373
* @param int $snippet_id
7474
*
75-
* @return string
75+
* @return mixed
7676
*/
7777
public function content($project_id, int $snippet_id)
7878
{

tests/Api/RepositoriesTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -561,7 +561,7 @@ public function shouldCompareComplexBranchName(): void
561561
/**
562562
* @test
563563
*/
564-
public function shouldCompareComplexBranchName(): void
564+
public function shouldCompareWithFromProjectId(): void
565565
{
566566
$expectedArray = ['commit' => 'object'];
567567

0 commit comments

Comments
 (0)