Skip to content

Commit 11e1021

Browse files
andrzejennem1guelpf
authored andcommitted
Update Projects.php
phpstan complains about $project_id type in show method. I have added string type to @param
1 parent c946569 commit 11e1021

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Gitlab/Api/Projects.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ public function all(array $parameters = [])
8484
}
8585

8686
/**
87-
* @param int $project_id
87+
* @param int|string $project_id
8888
* @param array $parameters {
8989
*
9090
* @var bool $statistics Include project statistics.

0 commit comments

Comments
 (0)