Update App.php

This commit is contained in:
Francis Lavoie 2020-09-04 09:23:03 -04:00 committed by GitHub
parent 1389b6ca0a
commit c51a9806cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 5 deletions

View File

@ -6,7 +6,7 @@ use BeyondCode\LaravelWebSockets\Exceptions\InvalidApp;
class App
{
/** @var int */
/** @var string|int */
public $id;
/** @var string */
@ -39,7 +39,7 @@ class App
/**
* Find the app by id.
*
* @param int $appId
* @param string|int $appId
* @return \BeyondCode\LaravelWebSockets\Apps\App|null
*/
public static function findById($appId)
@ -72,9 +72,9 @@ class App
/**
* Initialize the Web Socket app instance.
*
* @param int $appId
* @param string $key
* @param string $secret
* @param string|int $appId
* @param string $key
* @param string $secret
* @return void
* @throws \BeyondCode\LaravelWebSockets\Exceptions\InvalidApp
*/