Skip to content

Commit 3bc6367

Browse files
authored
Fix ClientRepository doc blocks (#1587)
1 parent c73285f commit 3bc6367

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/ClientRepository.php

+4-4
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public function __construct($personalAccessClientId = null, $personalAccessClien
3737
/**
3838
* Get a client by the given ID.
3939
*
40-
* @param int $id
40+
* @param int|string $id
4141
* @return \Laravel\Passport\Client|null
4242
*/
4343
public function find($id)
@@ -50,7 +50,7 @@ public function find($id)
5050
/**
5151
* Get an active client by the given ID.
5252
*
53-
* @param int $id
53+
* @param int|string $id
5454
* @return \Laravel\Passport\Client|null
5555
*/
5656
public function findActive($id)
@@ -63,7 +63,7 @@ public function findActive($id)
6363
/**
6464
* Get a client instance for the given ID and user ID.
6565
*
66-
* @param int $clientId
66+
* @param int|string $clientId
6767
* @param mixed $userId
6868
* @return \Laravel\Passport\Client|null
6969
*/
@@ -221,7 +221,7 @@ public function regenerateSecret(Client $client)
221221
/**
222222
* Determine if the given client is revoked.
223223
*
224-
* @param int $id
224+
* @param int|string $id
225225
* @return bool
226226
*/
227227
public function revoked($id)

0 commit comments

Comments
 (0)