Update App.php
This commit is contained in:
parent
1389b6ca0a
commit
c51a9806cb
|
|
@ -6,7 +6,7 @@ use BeyondCode\LaravelWebSockets\Exceptions\InvalidApp;
|
||||||
|
|
||||||
class App
|
class App
|
||||||
{
|
{
|
||||||
/** @var int */
|
/** @var string|int */
|
||||||
public $id;
|
public $id;
|
||||||
|
|
||||||
/** @var string */
|
/** @var string */
|
||||||
|
|
@ -39,7 +39,7 @@ class App
|
||||||
/**
|
/**
|
||||||
* Find the app by id.
|
* Find the app by id.
|
||||||
*
|
*
|
||||||
* @param int $appId
|
* @param string|int $appId
|
||||||
* @return \BeyondCode\LaravelWebSockets\Apps\App|null
|
* @return \BeyondCode\LaravelWebSockets\Apps\App|null
|
||||||
*/
|
*/
|
||||||
public static function findById($appId)
|
public static function findById($appId)
|
||||||
|
|
@ -72,9 +72,9 @@ class App
|
||||||
/**
|
/**
|
||||||
* Initialize the Web Socket app instance.
|
* Initialize the Web Socket app instance.
|
||||||
*
|
*
|
||||||
* @param int $appId
|
* @param string|int $appId
|
||||||
* @param string $key
|
* @param string $key
|
||||||
* @param string $secret
|
* @param string $secret
|
||||||
* @return void
|
* @return void
|
||||||
* @throws \BeyondCode\LaravelWebSockets\Exceptions\InvalidApp
|
* @throws \BeyondCode\LaravelWebSockets\Exceptions\InvalidApp
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue