We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -48,8 +48,9 @@ discard block |
||
48 | 48 | } |
49 | 49 | |
50 | 50 | public function setAllianceID($ID) { |
51 | - if ($this->allianceID == $ID) |
|
52 | - return; |
|
51 | + if ($this->allianceID == $ID) { |
|
52 | + return; |
|
53 | + } |
|
53 | 54 | $this->allianceID = $ID; |
54 | 55 | } |
55 | 56 | |
@@ -85,8 +86,7 @@ discard block |
||
85 | 86 | AND id = ' . $db->escapeString($name) . ' LIMIT 1'); |
86 | 87 | if ($db->nextRecord()) { |
87 | 88 | return $db->getObject('info'); |
88 | - } |
|
89 | - else { |
|
89 | + } else { |
|
90 | 90 | return new DummyPlayer(); |
91 | 91 | } |
92 | 92 | } |
@@ -14,8 +14,9 @@ discard block |
||
14 | 14 | $i = 1; |
15 | 15 | if (Request::has('attackers')) { |
16 | 16 | foreach (Request::getArray('attackers') as $attackerName) { |
17 | - if ($attackerName == 'none') |
|
18 | - continue; |
|
17 | + if ($attackerName == 'none') { |
|
18 | + continue; |
|
19 | + } |
|
19 | 20 | if (isset($usedNames[$attackerName])) { |
20 | 21 | $duplicates = true; |
21 | 22 | continue; |
@@ -38,8 +39,9 @@ discard block |
||
38 | 39 | $defenders = array(); |
39 | 40 | if (Request::has('defenders')) { |
40 | 41 | foreach (Request::getArray('defenders') as $defenderName) { |
41 | - if ($defenderName == 'none') |
|
42 | - continue; |
|
42 | + if ($defenderName == 'none') { |
|
43 | + continue; |
|
44 | + } |
|
43 | 45 | if (isset($usedNames[$defenderName])) { |
44 | 46 | $duplicates = true; |
45 | 47 | continue; |