Completed
Push — master ( 382641...da5caa )
by Renato
05:01
created
src/SocketCluster.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
      * @param mixed        $data
36 36
      * @param Closure|null $callback
37 37
      *
38
-     * @return void
38
+     * @return boolean
39 39
      */
40 40
     public function publish($channel, $data, Closure $callback = null)
41 41
     {
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
      * @param array        $data
55 55
      * @param Closure|null $callback
56 56
      *
57
-     * @return void
57
+     * @return boolean
58 58
      */
59 59
     public function emit($event, array $data, Closure $callback = null)
60 60
     {
@@ -91,7 +91,7 @@  discard block
 block discarded – undo
91 91
     /**
92 92
      * Get Error
93 93
      *
94
-     * @return string|null
94
+     * @return string
95 95
      */
96 96
     public function error()
97 97
     {
Please login to merge, or discard this patch.
src/SCBroadcastServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
 
30 30
         $this->app
31 31
             ->make(BroadcastManager::class)
32
-            ->extend('socketcluster', function ($app, $config) use ($self) {
32
+            ->extend('socketcluster', function($app, $config) use ($self) {
33 33
                 return new SCBroadcaster($self->makeSocketCluster($config));
34 34
             });
35 35
     }
Please login to merge, or discard this patch.