File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ class Pusher
4545    protected  $ event ;
4646
4747    /** 
48-      * @var string |null 
48+      * @var mixed |null 
4949     */ 
5050    protected  $ message ;
5151
@@ -58,7 +58,7 @@ class Pusher
5858     * @param bool $broadcast 
5959     * @param bool $assigned 
6060     * @param string $event 
61-      * @param string |null $message 
61+      * @param mixed |null $message 
6262     * @param \Swoole\Websocket\Server 
6363     */ 
6464    protected  function  __construct (
@@ -68,7 +68,7 @@ protected function __construct(
6868        bool  $ broadcast ,
6969        bool  $ assigned ,
7070        string  $ event ,
71-         string   $ message  = null ,
71+         $ message  = null ,
7272        $ server
7373    )
7474    {
@@ -189,9 +189,9 @@ public function getEvent(): string
189189    }
190190
191191    /** 
192-      * @return string |null 
192+      * @return mixed |null 
193193     */ 
194-     public  function  getMessage (): ? string 
194+     public  function  getMessage ()
195195    {
196196        return  $ this  ->message ;
197197    }
@@ -278,4 +278,4 @@ public function push($payload): void
278278            }
279279        }
280280    }
281- }
281+ }
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments