Skip to content

Commit fc3e323

Browse files
authored
removed phpdocs, use native typehints
1 parent 53d5ea3 commit fc3e323

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

lib/Github/Api/Deployment.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -74,13 +74,9 @@ public function create($username, $repository, array $params)
7474
* Important: Deployments can only be deleted when in inactive state
7575
* @see updateStatus
7676
*
77-
* @param string $username the user who owns the repo
78-
* @param string $repository the name of the repo
79-
* @param int $id the id of the deployment
80-
*
8177
* @return mixed null on success, array on error with 'message'
8278
*/
83-
public function remove($username, $repository, $id)
79+
public function remove(string $username, string $repository, int $id)
8480
{
8581
return $this->delete('/repos/'.rawurlencode($username).'/'.rawurlencode($repository).'/deployments/'.$id);
8682
}

0 commit comments

Comments
 (0)