Code cleanup.

This commit is contained in:
James Cole
2015-05-20 19:55:53 +02:00
parent 7645005d5a
commit b1d3158db1
19 changed files with 65 additions and 65 deletions

View File

@@ -43,8 +43,9 @@ class Bill
$this->bills->sortBy(
function (BillLine $bill) {
$active = intval($bill->getBill()->active) == 0 ? 1 : 0;
$name = $bill->getBill()->name;
return $active.$name;
$name = $bill->getBill()->name;
return $active . $name;
}
);