Skip to content

Commit 877386b

Browse files
committed
Phpstan level 2 fixes
1 parent f2abf32 commit 877386b

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

lib/Github/Api/Apps.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public function findInstallations()
5858
*
5959
* @link https://developer.github.com/v3/apps/#get-an-installation
6060
*
61-
* @param $installationId An integration installation id
61+
* @param int $installationId An integration installation id
6262
*
6363
* @return array
6464
*/
@@ -74,7 +74,7 @@ public function getInstallation($installationId)
7474
*
7575
* @link https://developer.github.com/v3/apps/#get-an-organization-installation
7676
*
77-
* @param $org An organization
77+
* @param string $org An organization
7878
*
7979
* @return array
8080
*/
@@ -90,8 +90,8 @@ public function getInstallationForOrganization($org)
9090
*
9191
* @link https://developer.github.com/v3/apps/#get-a-repository-installation
9292
*
93-
* @param $owner the owner of a repository
94-
* @param $repo the name of the repository
93+
* @param string $owner the owner of a repository
94+
* @param string $repo the name of the repository
9595
*
9696
* @return array
9797
*/
@@ -107,7 +107,7 @@ public function getInstallationForRepo($owner, $repo)
107107
*
108108
* @link https://developer.github.com/v3/apps/#get-a-user-installation
109109
*
110-
* @param $username
110+
* @param string $username
111111
*
112112
* @return array
113113
*/
@@ -123,7 +123,7 @@ public function getInstallationForUser($username)
123123
*
124124
* @link https://developer.github.com/v3/apps/#delete-an-installation
125125
*
126-
* @param $installationId An integration installation id
126+
* @param int $installationId An integration installation id
127127
*/
128128
public function removeInstallation($installationId)
129129
{

0 commit comments

Comments
 (0)