@@ -21,7 +21,7 @@ |
||
21 | 21 | foreach ($this->nicks as $nick) { |
22 | 22 | $event = str_replace( |
23 | 23 | $nick, |
24 | - '<a href="' . $url('player-info', ['nick' => $nick]) . '">'. $nick .'</a>', |
|
24 | + '<a href="' . $url('player-info', ['nick' => $nick]) . '">' . $nick . '</a>', |
|
25 | 25 | $event |
26 | 26 | ); |
27 | 27 | } |
@@ -376,7 +376,7 @@ discard block |
||
376 | 376 | |
377 | 377 | $tmp = array_reverse($tmp); |
378 | 378 | $modifiers['total'] = count($tmp); |
379 | - $modifiers['items'] = array_slice($tmp, 0, ($limit > 0 ) ? $limit : null); |
|
379 | + $modifiers['items'] = array_slice($tmp, 0, ($limit > 0) ? $limit : null); |
|
380 | 380 | |
381 | 381 | return $modifiers; |
382 | 382 | } |
@@ -413,11 +413,11 @@ discard block |
||
413 | 413 | if (($handle = fopen($this->config['bot_quest'], "r")) !== false) { |
414 | 414 | while (($data = fgets($handle, 1024)) !== false) { |
415 | 415 | // T - title |
416 | - if (! isset($data['title']) && $data[0] == "T") { |
|
416 | + if (!isset($data['title']) && $data[0] == "T") { |
|
417 | 417 | $quest['title'] = substr($data, 2); |
418 | 418 | } |
419 | 419 | // Y - type. 1 for time based, 2 for stages |
420 | - if (! isset($data['type']) && $data[0] == "Y") { |
|
420 | + if (!isset($data['type']) && $data[0] == "Y") { |
|
421 | 421 | $quest['type'] = (int) substr($data, 2); |
422 | 422 | } |
423 | 423 | // S - objective |