mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Fix PHP 7.1 websocket compatibility
This commit is contained in:
@@ -56,7 +56,7 @@ class base_message {
|
||||
public function __construct($associative_properties_array = []) {
|
||||
|
||||
// Assign the unique object id given by PHP to identify the object
|
||||
$this->id = spl_object_id($this);
|
||||
$this->id = md5(spl_object_hash($this));
|
||||
|
||||
// Assign the object properties using the associative array provided in constructor
|
||||
foreach ($associative_properties_array as $property_or_method => $value) {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Description of system_dashboard_service
|
||||
* Description of base_websocket_system_service
|
||||
*
|
||||
* @author Tim Fry <tim@fusionpbx.com>
|
||||
*/
|
||||
@@ -22,7 +22,7 @@ abstract class base_websocket_system_service extends service implements websocke
|
||||
*/
|
||||
protected $ws_client;
|
||||
|
||||
abstract protected function reload_settings(): void;
|
||||
//abstract protected function reload_settings(): void;
|
||||
|
||||
protected static function display_version(): void {
|
||||
echo "System Dashboard Service 1.0\n";
|
||||
|
||||
Reference in New Issue
Block a user