Code cleanup.

This commit is contained in:
James Cole
2016-04-26 21:40:15 +02:00
parent 1d2a4e707e
commit da202317c0
41 changed files with 167 additions and 197 deletions

View File

@@ -19,7 +19,7 @@ use FireflyIII\Models\Budget;
class EntryBudget
{
/** @var string */
public $id = '';
public $budgetId = '';
/** @var string */
public $name = '';
@@ -31,8 +31,8 @@ class EntryBudget
public function __construct(Budget $budget = null)
{
if (!is_null($budget)) {
$this->id = $budget->id;
$this->name = $budget->name;
$this->budgetId = $budget->id;
$this->name = $budget->name;
}
}