Skip to content

Commit 48b91c3

Browse files
committed
return type of create() should be string
`id` column of `oauth_clients` is `VARCHAR(40)`. Isn't the return value of `insertGetId()` `string`?
1 parent e9146c3 commit 48b91c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Storage/FluentClient.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ public function getBySession(SessionEntity $session)
155155
* @param string $id The client's unique id
156156
* @param string $secret The clients' unique secret
157157
*
158-
* @return int
158+
* @return string
159159
*/
160160
public function create($name, $id, $secret)
161161
{

0 commit comments

Comments
 (0)