@@ -135,7 +135,7 @@ discard block |
||
135 | 135 | // Let's iterate over the response items, there are a lot |
136 | 136 | foreach ($data as $key => $value) { |
137 | 137 | // Ignore root for now, that is where all of the channel/player info is housed |
138 | - if (in_array($key, [ 'root' ])) { |
|
138 | + if (in_array($key, ['root'])) { |
|
139 | 139 | continue; |
140 | 140 | } |
141 | 141 | |
@@ -164,13 +164,13 @@ discard block |
||
164 | 164 | * @param array $data |
165 | 165 | * @param \GameQ\Result $result |
166 | 166 | */ |
167 | - protected function processChannelsAndUsers(array $data, Result &$result) |
|
167 | + protected function processChannelsAndUsers(array $data, Result & $result) |
|
168 | 168 | { |
169 | 169 | |
170 | 170 | // Let's add all of the channel information |
171 | 171 | foreach ($data as $key => $value) { |
172 | 172 | // We will handle these later |
173 | - if (in_array($key, [ 'channels', 'users' ])) { |
|
173 | + if (in_array($key, ['channels', 'users'])) { |
|
174 | 174 | // skip |
175 | 175 | continue; |
176 | 176 | } |
@@ -1,20 +1,20 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * This file is part of GameQ. |
|
4 | - * |
|
5 | - * GameQ is free software; you can redistribute it and/or modify |
|
6 | - * it under the terms of the GNU Lesser General Public License as published by |
|
7 | - * the Free Software Foundation; either version 3 of the License, or |
|
8 | - * (at your option) any later version. |
|
9 | - * |
|
10 | - * GameQ is distributed in the hope that it will be useful, |
|
11 | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
12 | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
13 | - * GNU Lesser General Public License for more details. |
|
14 | - * |
|
15 | - * You should have received a copy of the GNU Lesser General Public License |
|
16 | - * along with this program. If not, see <http://www.gnu.org/licenses/>. |
|
17 | - */ |
|
3 | + * This file is part of GameQ. |
|
4 | + * |
|
5 | + * GameQ is free software; you can redistribute it and/or modify |
|
6 | + * it under the terms of the GNU Lesser General Public License as published by |
|
7 | + * the Free Software Foundation; either version 3 of the License, or |
|
8 | + * (at your option) any later version. |
|
9 | + * |
|
10 | + * GameQ is distributed in the hope that it will be useful, |
|
11 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
12 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
13 | + * GNU Lesser General Public License for more details. |
|
14 | + * |
|
15 | + * You should have received a copy of the GNU Lesser General Public License |
|
16 | + * along with this program. If not, see <http://www.gnu.org/licenses/>. |
|
17 | + */ |
|
18 | 18 | |
19 | 19 | namespace GameQ; |
20 | 20 |
@@ -1,20 +1,20 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * This file is part of GameQ. |
|
4 | - * |
|
5 | - * GameQ is free software; you can redistribute it and/or modify |
|
6 | - * it under the terms of the GNU Lesser General Public License as published by |
|
7 | - * the Free Software Foundation; either version 3 of the License, or |
|
8 | - * (at your option) any later version. |
|
9 | - * |
|
10 | - * GameQ is distributed in the hope that it will be useful, |
|
11 | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
12 | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
13 | - * GNU Lesser General Public License for more details. |
|
14 | - * |
|
15 | - * You should have received a copy of the GNU Lesser General Public License |
|
16 | - * along with this program. If not, see <http://www.gnu.org/licenses/>. |
|
17 | - */ |
|
3 | + * This file is part of GameQ. |
|
4 | + * |
|
5 | + * GameQ is free software; you can redistribute it and/or modify |
|
6 | + * it under the terms of the GNU Lesser General Public License as published by |
|
7 | + * the Free Software Foundation; either version 3 of the License, or |
|
8 | + * (at your option) any later version. |
|
9 | + * |
|
10 | + * GameQ is distributed in the hope that it will be useful, |
|
11 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
12 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
13 | + * GNU Lesser General Public License for more details. |
|
14 | + * |
|
15 | + * You should have received a copy of the GNU Lesser General Public License |
|
16 | + * along with this program. If not, see <http://www.gnu.org/licenses/>. |
|
17 | + */ |
|
18 | 18 | |
19 | 19 | namespace GameQ\Protocols; |
20 | 20 | |
@@ -120,7 +120,7 @@ discard block |
||
120 | 120 | |
121 | 121 | // Build the server code |
122 | 122 | $this->server_code = implode('', array_map('chr', explode('.', $server->ip()))) . |
123 | - pack("S", $server->portClient()); |
|
123 | + pack("S", $server->portClient()); |
|
124 | 124 | |
125 | 125 | // Loop over the packets and update them |
126 | 126 | foreach ($this->packets as $packetType => $packet) { |
@@ -139,7 +139,7 @@ discard block |
||
139 | 139 | { |
140 | 140 | |
141 | 141 | // Results that will be returned |
142 | - $results = [ ]; |
|
142 | + $results = []; |
|
143 | 143 | |
144 | 144 | // Get the length of the server code so we can figure out how much to read later |
145 | 145 | $serverCodeLength = strlen($this->server_code); |
@@ -170,7 +170,7 @@ discard block |
||
170 | 170 | // Now we need to call the proper method |
171 | 171 | $results = array_merge( |
172 | 172 | $results, |
173 | - call_user_func_array([ $this, $this->responses[$response_type] ], [ $buffer ]) |
|
173 | + call_user_func_array([$this, $this->responses[$response_type]], [$buffer]) |
|
174 | 174 | ); |
175 | 175 | |
176 | 176 | unset($buffer); |
@@ -1,20 +1,20 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * This file is part of GameQ. |
|
4 | - * |
|
5 | - * GameQ is free software; you can redistribute it and/or modify |
|
6 | - * it under the terms of the GNU General Public License as published by |
|
7 | - * the Free Software Foundation; either version 3 of the License, or |
|
8 | - * (at your option) any later version. |
|
9 | - * |
|
10 | - * GameQ is distributed in the hope that it will be useful, |
|
11 | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
12 | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
13 | - * GNU General Public License for more details. |
|
14 | - * |
|
15 | - * You should have received a copy of the GNU General Public License |
|
16 | - * along with this program. If not, see <http://www.gnu.org/licenses/>. |
|
17 | - */ |
|
3 | + * This file is part of GameQ. |
|
4 | + * |
|
5 | + * GameQ is free software; you can redistribute it and/or modify |
|
6 | + * it under the terms of the GNU General Public License as published by |
|
7 | + * the Free Software Foundation; either version 3 of the License, or |
|
8 | + * (at your option) any later version. |
|
9 | + * |
|
10 | + * GameQ is distributed in the hope that it will be useful, |
|
11 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
12 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
13 | + * GNU General Public License for more details. |
|
14 | + * |
|
15 | + * You should have received a copy of the GNU General Public License |
|
16 | + * along with this program. If not, see <http://www.gnu.org/licenses/>. |
|
17 | + */ |
|
18 | 18 | |
19 | 19 | namespace GameQ\Protocols; |
20 | 20 |
@@ -155,9 +155,9 @@ discard block |
||
155 | 155 | public function processResponse() |
156 | 156 | { |
157 | 157 | |
158 | - $results = [ ]; |
|
158 | + $results = []; |
|
159 | 159 | |
160 | - $packets = [ ]; |
|
160 | + $packets = []; |
|
161 | 161 | |
162 | 162 | // We need to pre-sort these for split packets so we can do extra work where needed |
163 | 163 | foreach ($this->packets_response as $response) { |
@@ -206,7 +206,7 @@ discard block |
||
206 | 206 | // Now we need to call the proper method |
207 | 207 | $results = array_merge( |
208 | 208 | $results, |
209 | - call_user_func_array([ $this, $this->responses[$response_type] ], [ $buffer ]) |
|
209 | + call_user_func_array([$this, $this->responses[$response_type]], [$buffer]) |
|
210 | 210 | ); |
211 | 211 | |
212 | 212 | unset($buffer); |
@@ -232,11 +232,11 @@ discard block |
||
232 | 232 | * @return string |
233 | 233 | * @throws \GameQ\Exception\Protocol |
234 | 234 | */ |
235 | - protected function processPackets($packet_id, array $packets = [ ]) |
|
235 | + protected function processPackets($packet_id, array $packets = []) |
|
236 | 236 | { |
237 | 237 | |
238 | 238 | // Init array so we can order |
239 | - $packs = [ ]; |
|
239 | + $packs = []; |
|
240 | 240 | |
241 | 241 | // We have multiple packets so we need to get them and order them |
242 | 242 | foreach ($packets as $i => $packet) { |
@@ -1,20 +1,20 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * This file is part of GameQ. |
|
4 | - * |
|
5 | - * GameQ is free software; you can redistribute it and/or modify |
|
6 | - * it under the terms of the GNU Lesser General Public License as published by |
|
7 | - * the Free Software Foundation; either version 3 of the License, or |
|
8 | - * (at your option) any later version. |
|
9 | - * |
|
10 | - * GameQ is distributed in the hope that it will be useful, |
|
11 | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
12 | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
13 | - * GNU Lesser General Public License for more details. |
|
14 | - * |
|
15 | - * You should have received a copy of the GNU Lesser General Public License |
|
16 | - * along with this program. If not, see <http://www.gnu.org/licenses/>. |
|
17 | - */ |
|
3 | + * This file is part of GameQ. |
|
4 | + * |
|
5 | + * GameQ is free software; you can redistribute it and/or modify |
|
6 | + * it under the terms of the GNU Lesser General Public License as published by |
|
7 | + * the Free Software Foundation; either version 3 of the License, or |
|
8 | + * (at your option) any later version. |
|
9 | + * |
|
10 | + * GameQ is distributed in the hope that it will be useful, |
|
11 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
12 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
13 | + * GNU Lesser General Public License for more details. |
|
14 | + * |
|
15 | + * You should have received a copy of the GNU Lesser General Public License |
|
16 | + * along with this program. If not, see <http://www.gnu.org/licenses/>. |
|
17 | + */ |
|
18 | 18 | |
19 | 19 | namespace GameQ; |
20 | 20 |
@@ -158,11 +158,11 @@ |
||
158 | 158 | * @return array |
159 | 159 | * @throws \GameQ\Exception\Protocol |
160 | 160 | */ |
161 | - protected function parseServerParameters(Buffer &$buffer) |
|
161 | + protected function parseServerParameters(Buffer & $buffer) |
|
162 | 162 | { |
163 | 163 | |
164 | 164 | // Init the parsed data array |
165 | - $parsed = [ ]; |
|
165 | + $parsed = []; |
|
166 | 166 | |
167 | 167 | // Read the number of parameters to parse |
168 | 168 | $parameterSize = $buffer->readInt32Signed(); |
@@ -1,20 +1,20 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * This file is part of GameQ. |
|
4 | - * |
|
5 | - * GameQ is free software; you can redistribute it and/or modify |
|
6 | - * it under the terms of the GNU Lesser General Public License as published by |
|
7 | - * the Free Software Foundation; either version 3 of the License, or |
|
8 | - * (at your option) any later version. |
|
9 | - * |
|
10 | - * GameQ is distributed in the hope that it will be useful, |
|
11 | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
12 | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
13 | - * GNU Lesser General Public License for more details. |
|
14 | - * |
|
15 | - * You should have received a copy of the GNU Lesser General Public License |
|
16 | - * along with this program. If not, see <http://www.gnu.org/licenses/>. |
|
17 | - */ |
|
3 | + * This file is part of GameQ. |
|
4 | + * |
|
5 | + * GameQ is free software; you can redistribute it and/or modify |
|
6 | + * it under the terms of the GNU Lesser General Public License as published by |
|
7 | + * the Free Software Foundation; either version 3 of the License, or |
|
8 | + * (at your option) any later version. |
|
9 | + * |
|
10 | + * GameQ is distributed in the hope that it will be useful, |
|
11 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
12 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
13 | + * GNU Lesser General Public License for more details. |
|
14 | + * |
|
15 | + * You should have received a copy of the GNU Lesser General Public License |
|
16 | + * along with this program. If not, see <http://www.gnu.org/licenses/>. |
|
17 | + */ |
|
18 | 18 | |
19 | 19 | namespace GameQ; |
20 | 20 |
@@ -200,7 +200,7 @@ discard block |
||
200 | 200 | * @param string $data |
201 | 201 | * @param \GameQ\Result $result |
202 | 202 | */ |
203 | - protected function processDetails($data, Result &$result) |
|
203 | + protected function processDetails($data, Result & $result) |
|
204 | 204 | { |
205 | 205 | |
206 | 206 | // Create a buffer |
@@ -230,7 +230,7 @@ discard block |
||
230 | 230 | * @param string $data |
231 | 231 | * @param \GameQ\Result $result |
232 | 232 | */ |
233 | - protected function processChannels($data, Result &$result) |
|
233 | + protected function processChannels($data, Result & $result) |
|
234 | 234 | { |
235 | 235 | |
236 | 236 | // Create a buffer |
@@ -262,7 +262,7 @@ discard block |
||
262 | 262 | * @param string $data |
263 | 263 | * @param \GameQ\Result $result |
264 | 264 | */ |
265 | - protected function processPlayers($data, Result &$result) |
|
265 | + protected function processPlayers($data, Result & $result) |
|
266 | 266 | { |
267 | 267 | |
268 | 268 | // Create a buffer |
@@ -1,20 +1,20 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * This file is part of GameQ. |
|
4 | - * |
|
5 | - * GameQ is free software; you can redistribute it and/or modify |
|
6 | - * it under the terms of the GNU Lesser General Public License as published by |
|
7 | - * the Free Software Foundation; either version 3 of the License, or |
|
8 | - * (at your option) any later version. |
|
9 | - * |
|
10 | - * GameQ is distributed in the hope that it will be useful, |
|
11 | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
12 | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
13 | - * GNU Lesser General Public License for more details. |
|
14 | - * |
|
15 | - * You should have received a copy of the GNU Lesser General Public License |
|
16 | - * along with this program. If not, see <http://www.gnu.org/licenses/>. |
|
17 | - */ |
|
3 | + * This file is part of GameQ. |
|
4 | + * |
|
5 | + * GameQ is free software; you can redistribute it and/or modify |
|
6 | + * it under the terms of the GNU Lesser General Public License as published by |
|
7 | + * the Free Software Foundation; either version 3 of the License, or |
|
8 | + * (at your option) any later version. |
|
9 | + * |
|
10 | + * GameQ is distributed in the hope that it will be useful, |
|
11 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
12 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
13 | + * GNU Lesser General Public License for more details. |
|
14 | + * |
|
15 | + * You should have received a copy of the GNU Lesser General Public License |
|
16 | + * along with this program. If not, see <http://www.gnu.org/licenses/>. |
|
17 | + */ |
|
18 | 18 | |
19 | 19 | namespace GameQ; |
20 | 20 |
@@ -220,7 +220,7 @@ discard block |
||
220 | 220 | { |
221 | 221 | |
222 | 222 | // Will hold the properties we are sending back |
223 | - $properties = [ ]; |
|
223 | + $properties = []; |
|
224 | 224 | |
225 | 225 | // All of these are split on space |
226 | 226 | $items = explode(' ', $data); |
@@ -251,7 +251,7 @@ discard block |
||
251 | 251 | * @param string $data |
252 | 252 | * @param \GameQ\Result $result |
253 | 253 | */ |
254 | - protected function processDetails($data, Result &$result) |
|
254 | + protected function processDetails($data, Result & $result) |
|
255 | 255 | { |
256 | 256 | |
257 | 257 | // Offload the parsing for these values |
@@ -280,7 +280,7 @@ discard block |
||
280 | 280 | * @param string $data |
281 | 281 | * @param \GameQ\Result $result |
282 | 282 | */ |
283 | - protected function processChannels($data, Result &$result) |
|
283 | + protected function processChannels($data, Result & $result) |
|
284 | 284 | { |
285 | 285 | |
286 | 286 | // We need to split the data at the pipe |
@@ -306,7 +306,7 @@ discard block |
||
306 | 306 | * @param string $data |
307 | 307 | * @param \GameQ\Result $result |
308 | 308 | */ |
309 | - protected function processPlayers($data, Result &$result) |
|
309 | + protected function processPlayers($data, Result & $result) |
|
310 | 310 | { |
311 | 311 | |
312 | 312 | // We need to split the data at the pipe |
@@ -1,20 +1,20 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * This file is part of GameQ. |
|
4 | - * |
|
5 | - * GameQ is free software; you can redistribute it and/or modify |
|
6 | - * it under the terms of the GNU Lesser General Public License as published by |
|
7 | - * the Free Software Foundation; either version 3 of the License, or |
|
8 | - * (at your option) any later version. |
|
9 | - * |
|
10 | - * GameQ is distributed in the hope that it will be useful, |
|
11 | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
12 | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
13 | - * GNU Lesser General Public License for more details. |
|
14 | - * |
|
15 | - * You should have received a copy of the GNU Lesser General Public License |
|
16 | - * along with this program. If not, see <http://www.gnu.org/licenses/>. |
|
17 | - */ |
|
3 | + * This file is part of GameQ. |
|
4 | + * |
|
5 | + * GameQ is free software; you can redistribute it and/or modify |
|
6 | + * it under the terms of the GNU Lesser General Public License as published by |
|
7 | + * the Free Software Foundation; either version 3 of the License, or |
|
8 | + * (at your option) any later version. |
|
9 | + * |
|
10 | + * GameQ is distributed in the hope that it will be useful, |
|
11 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
12 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
13 | + * GNU Lesser General Public License for more details. |
|
14 | + * |
|
15 | + * You should have received a copy of the GNU Lesser General Public License |
|
16 | + * along with this program. If not, see <http://www.gnu.org/licenses/>. |
|
17 | + */ |
|
18 | 18 | |
19 | 19 | namespace GameQ; |
20 | 20 |
@@ -127,7 +127,7 @@ discard block |
||
127 | 127 | { |
128 | 128 | |
129 | 129 | // Will hold the packets after sorting |
130 | - $packets = [ ]; |
|
130 | + $packets = []; |
|
131 | 131 | |
132 | 132 | // We need to pre-sort these for split packets so we can do extra work where needed |
133 | 133 | foreach ($this->packets_response as $response) { |
@@ -142,7 +142,7 @@ discard block |
||
142 | 142 | |
143 | 143 | unset($buffer); |
144 | 144 | |
145 | - $results = [ ]; |
|
145 | + $results = []; |
|
146 | 146 | |
147 | 147 | // Now let's iterate and process |
148 | 148 | foreach ($packets as $header => $packetGroup) { |
@@ -154,7 +154,7 @@ discard block |
||
154 | 154 | // Now we need to call the proper method |
155 | 155 | $results = array_merge( |
156 | 156 | $results, |
157 | - call_user_func_array([ $this, $this->responses[$header] ], [ new Buffer(implode($packetGroup)) ]) |
|
157 | + call_user_func_array([$this, $this->responses[$header]], [new Buffer(implode($packetGroup))]) |
|
158 | 158 | ); |
159 | 159 | } |
160 | 160 |
@@ -1,20 +1,20 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * This file is part of GameQ. |
|
4 | - * |
|
5 | - * GameQ is free software; you can redistribute it and/or modify |
|
6 | - * it under the terms of the GNU Lesser General Public License as published by |
|
7 | - * the Free Software Foundation; either version 3 of the License, or |
|
8 | - * (at your option) any later version. |
|
9 | - * |
|
10 | - * GameQ is distributed in the hope that it will be useful, |
|
11 | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
12 | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
13 | - * GNU Lesser General Public License for more details. |
|
14 | - * |
|
15 | - * You should have received a copy of the GNU Lesser General Public License |
|
16 | - * along with this program. If not, see <http://www.gnu.org/licenses/>. |
|
17 | - */ |
|
3 | + * This file is part of GameQ. |
|
4 | + * |
|
5 | + * GameQ is free software; you can redistribute it and/or modify |
|
6 | + * it under the terms of the GNU Lesser General Public License as published by |
|
7 | + * the Free Software Foundation; either version 3 of the License, or |
|
8 | + * (at your option) any later version. |
|
9 | + * |
|
10 | + * GameQ is distributed in the hope that it will be useful, |
|
11 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
12 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
13 | + * GNU Lesser General Public License for more details. |
|
14 | + * |
|
15 | + * You should have received a copy of the GNU Lesser General Public License |
|
16 | + * along with this program. If not, see <http://www.gnu.org/licenses/>. |
|
17 | + */ |
|
18 | 18 | |
19 | 19 | namespace GameQ; |
20 | 20 |
@@ -748,17 +748,17 @@ discard block |
||
748 | 748 | * @return string |
749 | 749 | * @throws \GameQ\Exception\Protocol |
750 | 750 | */ |
751 | - protected function decryptPackets(array $packets = [ ]) |
|
751 | + protected function decryptPackets(array $packets = []) |
|
752 | 752 | { |
753 | 753 | |
754 | 754 | // This will be returned |
755 | - $decrypted = [ ]; |
|
755 | + $decrypted = []; |
|
756 | 756 | |
757 | 757 | foreach ($packets as $packet) { |
758 | 758 | # Header : |
759 | 759 | $header = substr($packet, 0, 20); |
760 | 760 | |
761 | - $header_items = [ ]; |
|
761 | + $header_items = []; |
|
762 | 762 | |
763 | 763 | $header_key = unpack("n1", $header); |
764 | 764 | |
@@ -838,7 +838,7 @@ discard block |
||
838 | 838 | * @param int $fieldCount |
839 | 839 | * @param \GameQ\Result $result |
840 | 840 | */ |
841 | - protected function processChannel($data, $fieldCount, Result &$result) |
|
841 | + protected function processChannel($data, $fieldCount, Result & $result) |
|
842 | 842 | { |
843 | 843 | |
844 | 844 | // Split the items on the comma |
@@ -860,7 +860,7 @@ discard block |
||
860 | 860 | * @param int $fieldCount |
861 | 861 | * @param \GameQ\Result $result |
862 | 862 | */ |
863 | - protected function processPlayer($data, $fieldCount, Result &$result) |
|
863 | + protected function processPlayer($data, $fieldCount, Result & $result) |
|
864 | 864 | { |
865 | 865 | |
866 | 866 | // Split the items on the comma |
@@ -1,20 +1,20 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * This file is part of GameQ. |
|
4 | - * |
|
5 | - * GameQ is free software; you can redistribute it and/or modify |
|
6 | - * it under the terms of the GNU Lesser General Public License as published by |
|
7 | - * the Free Software Foundation; either version 3 of the License, or |
|
8 | - * (at your option) any later version. |
|
9 | - * |
|
10 | - * GameQ is distributed in the hope that it will be useful, |
|
11 | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
12 | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
13 | - * GNU Lesser General Public License for more details. |
|
14 | - * |
|
15 | - * You should have received a copy of the GNU Lesser General Public License |
|
16 | - * along with this program. If not, see <http://www.gnu.org/licenses/>. |
|
17 | - */ |
|
3 | + * This file is part of GameQ. |
|
4 | + * |
|
5 | + * GameQ is free software; you can redistribute it and/or modify |
|
6 | + * it under the terms of the GNU Lesser General Public License as published by |
|
7 | + * the Free Software Foundation; either version 3 of the License, or |
|
8 | + * (at your option) any later version. |
|
9 | + * |
|
10 | + * GameQ is distributed in the hope that it will be useful, |
|
11 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
12 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
13 | + * GNU Lesser General Public License for more details. |
|
14 | + * |
|
15 | + * You should have received a copy of the GNU Lesser General Public License |
|
16 | + * along with this program. If not, see <http://www.gnu.org/licenses/>. |
|
17 | + */ |
|
18 | 18 | |
19 | 19 | namespace GameQ; |
20 | 20 |