Skip to content

Commit c51a980

Browse files
Update App.php
1 parent 1389b6c commit c51a980

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/Apps/App.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
class App
88
{
9-
/** @var int */
9+
/** @var string|int */
1010
public $id;
1111

1212
/** @var string */
@@ -39,7 +39,7 @@ class App
3939
/**
4040
* Find the app by id.
4141
*
42-
* @param int $appId
42+
* @param string|int $appId
4343
* @return \BeyondCode\LaravelWebSockets\Apps\App|null
4444
*/
4545
public static function findById($appId)
@@ -72,9 +72,9 @@ public static function findBySecret($appSecret): ?self
7272
/**
7373
* Initialize the Web Socket app instance.
7474
*
75-
* @param int $appId
76-
* @param string $key
77-
* @param string $secret
75+
* @param string|int $appId
76+
* @param string $key
77+
* @param string $secret
7878
* @return void
7979
* @throws \BeyondCode\LaravelWebSockets\Exceptions\InvalidApp
8080
*/

0 commit comments

Comments
 (0)