mirror of
https://github.com/brunofontes/shareit.git
synced 2025-11-15 16:00:54 -03:00
Refactoring
Including some use for classes; REfactoring the HomeController, to make it cleaner and avoid repeating code.
This commit is contained in:
@@ -19,6 +19,8 @@ class ReturnItem
|
||||
/**
|
||||
* Create a new event instance.
|
||||
*
|
||||
* @param Item $item The returned item.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function __construct(Item $item)
|
||||
|
||||
Reference in New Issue
Block a user