@@ -101,7 +101,7 @@ |
||
| 101 | 101 | /** |
| 102 | 102 | * @param string $projectName |
| 103 | 103 | * @param string $branchName |
| 104 | - * @return array |
|
| 104 | + * @return string |
|
| 105 | 105 | * @throws BuildNotFoundException |
| 106 | 106 | */ |
| 107 | 107 | public function getLatestBuildFromBranch(string $projectName, string $branchName) : array |
@@ -60,7 +60,7 @@ |
||
| 60 | 60 | |
| 61 | 61 | // Now, let's order the differences by crap order. |
| 62 | 62 | usort($differences, function(Difference $d1, Difference $d2) { |
| 63 | - return $d1->getCrapScore() <=> $d2->getCrapScore(); |
|
| 63 | + return $d1->getCrapScore() <=> $d2->getCrapScore(); |
|
| 64 | 64 | }); |
| 65 | 65 | |
| 66 | 66 | // Now, let's limit the number of returned differences |