Scrutinizer Auto-Fixes

This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
This commit is contained in:
Scrutinizer Auto-Fixer
2015-06-05 08:40:26 +00:00
parent 4b7e1ae1c6
commit 58859eb35a
49 changed files with 363 additions and 364 deletions

View File

@@ -41,7 +41,7 @@ class Bill
public function getBills()
{
$this->bills->sortBy(
function (BillLine $bill) {
function(BillLine $bill) {
$active = intval($bill->getBill()->active) == 0 ? 1 : 0;
$name = $bill->getBill()->name;

View File

@@ -55,7 +55,7 @@ class Category
public function getCategories()
{
$this->categories->sortByDesc(
function (CategoryModel $category) {
function(CategoryModel $category) {
return $category->spent;
}
);

View File

@@ -67,7 +67,7 @@ class Expense
public function getExpenses()
{
$this->expenses->sortByDesc(
function (stdClass $object) {
function(stdClass $object) {
return $object->amount;
}
);

View File

@@ -68,7 +68,7 @@ class Income
public function getIncomes()
{
$this->incomes->sortByDesc(
function (stdClass $object) {
function(stdClass $object) {
return $object->amount;
}
);