Completed
Push — master ( 5941b1...265103 )
by Brian
03:27
created
src/wormling/phparia/Resources/Endpoint.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -85,7 +85,7 @@  discard block
 block discarded – undo
85 85
      */
86 86
     public function onEndpointStateChange(callable $callback)
87 87
     {
88
-        $this->on(Event::ENDPOINT_STATE_CHANGE.'_'.$this->getResource(), $callback);
88
+        $this->on(Event::ENDPOINT_STATE_CHANGE . '_' . $this->getResource(), $callback);
89 89
     }
90 90
 
91 91
     /**
@@ -93,7 +93,7 @@  discard block
 block discarded – undo
93 93
      */
94 94
     public function onceEndpointStateChange(callable $callback)
95 95
     {
96
-        $this->once(Event::ENDPOINT_STATE_CHANGE.'_'.$this->getResource(), $callback);
96
+        $this->once(Event::ENDPOINT_STATE_CHANGE . '_' . $this->getResource(), $callback);
97 97
     }
98 98
 
99 99
     /**
Please login to merge, or discard this patch.
src/wormling/phparia/Resources/LiveRecording.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -137,7 +137,7 @@  discard block
 block discarded – undo
137 137
      */
138 138
     public function onRecordingFailed(callable $callback)
139 139
     {
140
-        $this->on(Event::RECORDING_FAILED.'_'.$this->getName(), $callback);
140
+        $this->on(Event::RECORDING_FAILED . '_' . $this->getName(), $callback);
141 141
     }
142 142
 
143 143
     /**
@@ -145,7 +145,7 @@  discard block
 block discarded – undo
145 145
      */
146 146
     public function onceRecordingFailed(callable $callback)
147 147
     {
148
-        $this->once(Event::RECORDING_FAILED.'_'.$this->getName(), $callback);
148
+        $this->once(Event::RECORDING_FAILED . '_' . $this->getName(), $callback);
149 149
     }
150 150
 
151 151
     /**
@@ -153,7 +153,7 @@  discard block
 block discarded – undo
153 153
      */
154 154
     public function onRecordingFinished(callable $callback)
155 155
     {
156
-        $this->on(Event::RECORDING_FINISHED.'_'.$this->getName(), $callback);
156
+        $this->on(Event::RECORDING_FINISHED . '_' . $this->getName(), $callback);
157 157
     }
158 158
 
159 159
     /**
@@ -161,7 +161,7 @@  discard block
 block discarded – undo
161 161
      */
162 162
     public function onceRecordingFinished(callable $callback)
163 163
     {
164
-        $this->once(Event::RECORDING_FINISHED.'_'.$this->getName(), $callback);
164
+        $this->once(Event::RECORDING_FINISHED . '_' . $this->getName(), $callback);
165 165
     }
166 166
 
167 167
     /**
@@ -169,7 +169,7 @@  discard block
 block discarded – undo
169 169
      */
170 170
     public function onRecordingStarted(callable $callback)
171 171
     {
172
-        $this->on(Event::RECORDING_STARTED.'_'.$this->getName(), $callback);
172
+        $this->on(Event::RECORDING_STARTED . '_' . $this->getName(), $callback);
173 173
     }
174 174
 
175 175
     /**
@@ -177,7 +177,7 @@  discard block
 block discarded – undo
177 177
      */
178 178
     public function onceRecordingStarted(callable $callback)
179 179
     {
180
-        $this->once(Event::RECORDING_STARTED.'_'.$this->getName(), $callback);
180
+        $this->once(Event::RECORDING_STARTED . '_' . $this->getName(), $callback);
181 181
     }
182 182
 
183 183
     /**
Please login to merge, or discard this patch.
src/wormling/phparia/Resources/Playback.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -98,7 +98,7 @@  discard block
 block discarded – undo
98 98
      */
99 99
     public function onPlaybackStarted(callable $callback)
100 100
     {
101
-        $this->on(Event::PLAYBACK_STARTED.'_'.$this->getId(), $callback);
101
+        $this->on(Event::PLAYBACK_STARTED . '_' . $this->getId(), $callback);
102 102
     }
103 103
 
104 104
     /**
@@ -106,7 +106,7 @@  discard block
 block discarded – undo
106 106
      */
107 107
     public function oncePlaybackStarted(callable $callback)
108 108
     {
109
-        $this->once(Event::PLAYBACK_STARTED.'_'.$this->getId(), $callback);
109
+        $this->once(Event::PLAYBACK_STARTED . '_' . $this->getId(), $callback);
110 110
     }
111 111
 
112 112
     /**
@@ -114,7 +114,7 @@  discard block
 block discarded – undo
114 114
      */
115 115
     public function onPlaybackFinished(callable $callback)
116 116
     {
117
-        $this->on(Event::PLAYBACK_FINISHED.'_'.$this->getId(), $callback);
117
+        $this->on(Event::PLAYBACK_FINISHED . '_' . $this->getId(), $callback);
118 118
     }
119 119
 
120 120
     /**
@@ -122,7 +122,7 @@  discard block
 block discarded – undo
122 122
      */
123 123
     public function oncePlaybackFinished(callable $callback)
124 124
     {
125
-        $this->once(Event::PLAYBACK_FINISHED.'_'.$this->getId(), $callback);
125
+        $this->once(Event::PLAYBACK_FINISHED . '_' . $this->getId(), $callback);
126 126
     }
127 127
 
128 128
     /**
Please login to merge, or discard this patch.
src/wormling/phparia/Api/PlaybackList.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
         parent::offsetSet($offset, $value);
49 49
 
50 50
         // Remove playbacks when they are done playing
51
-        $value->oncePlaybackFinished(function (PlaybackFinished $playbackFinished) use ($value) {
51
+        $value->oncePlaybackFinished(function(PlaybackFinished $playbackFinished) use ($value) {
52 52
             if ($playbackFinished->getPlayback()->getId() === $value->getId()) {
53 53
                 $key = array_search($value, $this->getArrayCopy());
54 54
                 if ($key !== false) {
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
 
71 71
         // Remove playbacks when they are done playing
72 72
         $this->phparia->getWsClient()->once('PlaybackFinished',
73
-            function (PlaybackFinished $playbackFinished) use ($value) {
73
+            function(PlaybackFinished $playbackFinished) use ($value) {
74 74
                 if ($playbackFinished->getPlayback()->getId() === $value->getId()) {
75 75
                     $key = array_search($value, $this->getArrayCopy());
76 76
                     if ($key !== false) {
Please login to merge, or discard this patch.
src/wormling/phparia/Resources/ConfigInfo.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -113,7 +113,7 @@
 block discarded – undo
113 113
         $this->default_language = $this->getResponseValue('default_language');
114 114
         $this->max_channels = $this->getResponseValue('max_channels');
115 115
         $this->max_load = $this->getResponseValue('max_load');
116
-        $this->max_open_files =$this->getResponseValue('max_open_files');
116
+        $this->max_open_files = $this->getResponseValue('max_open_files');
117 117
         $this->name = $this->getResponseValue('name');
118 118
         $this->setid = $this->getResponseValue('setid', '\phparia\Resources\SetId');
119 119
     }
Please login to merge, or discard this patch.