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

@@ -25,7 +25,8 @@ class AlertReturnedItem
* Send an email to the user that
* is waiting for the item
*
* @param ReturnItem $item
* @param ReturnItem $event The return event that contains an item
*
* @return void
*/
public function handle(ReturnItem $event)