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\Category;
class EntryCategory
{
/** @var string */
public $id = '';
public $categoryId = '';
/** @var string */
public $name = '';
@@ -31,8 +31,8 @@ class EntryCategory
public function __construct(Category $category = null)
{
if (!is_null($category)) {
$this->id = $category->id;
$this->name = $category->name;
$this->categoryId = $category->id;
$this->name = $category->name;
}
}
}