Refactoring

Including some use for classes;
REfactoring the HomeController, to make it cleaner
and avoid repeating code.
This commit is contained in:
2018-10-10 00:46:28 -03:00
parent 69f0722c79
commit 8c4fe0a489
6 changed files with 84 additions and 47 deletions

View File

@@ -19,6 +19,8 @@ class ReturnItem
/**
* Create a new event instance.
*
* @param Item $item The returned item.
*
* @return void
*/
public function __construct(Item $item)