Completed
Push — master ( 76c189...bb9054 )
by Tomáš
03:15 queued 41s
created
src/TournamentGenerator/Base.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -70,8 +70,7 @@
 block discarded – undo
70 70
 		if (!is_string($id) && !is_int($id)) {
71 71
 			$this->id = uniqid('', false);
72 72
 			throw new InvalidArgumentException('Unsupported id type ('.gettype($id).') - expected type of string or int');
73
-		}
74
-		else {
73
+		} else {
75 74
 			$this->id = $id;
76 75
 		}
77 76
 		return $this;
Please login to merge, or discard this patch.
src/TournamentGenerator/Round.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -87,7 +87,7 @@
 block discarded – undo
87 87
 	 */
88 88
 	public function orderGroups() : array {
89 89
 		usort($this->groups, static function($a, $b) {
90
-			return $a->getOrder() - $b->getOrder();
90
+			return $a->getOrder()-$b->getOrder();
91 91
 		});
92 92
 		return $this->groups;
93 93
 	}
Please login to merge, or discard this patch.