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 a85b971ec5
commit 1c1c42df7b
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)