Change the protected to public for reload_settings
When waiting on a socket the call back needs to be accessible from anywhere
This commit is contained in:
@@ -115,7 +115,7 @@ class websocket_service extends service {
|
||||
* @throws \RuntimeException
|
||||
* @access protected
|
||||
*/
|
||||
protected function reload_settings(): void {
|
||||
public function reload_settings(): void {
|
||||
// Initialize tracking arrays
|
||||
$this->listeners = [];
|
||||
$this->clients = [];
|
||||
|
||||
Reference in New Issue
Block a user