for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace BeyondCode\LaravelWebSockets\Server\Exceptions;
class OriginNotAllowed extends WebSocketException
{
/**
* Initalize the exception.
*
* @param string $appKey
* @return void
@return
Adding a @return annotation to a constructor is not recommended, since a constructor does not have a meaningful return value.
Please refer to the PHP core documentation on constructors.
*/
public function __construct($appKey)
$this->trigger("The origin is not allowed for `{$appKey}`.", 4009);
}
Adding a
@return
annotation to a constructor is not recommended, since a constructor does not have a meaningful return value.Please refer to the PHP core documentation on constructors.