mirror of
https://github.com/HDInnovations/UNIT3D-Community-Edition.git
synced 2026-05-05 18:19:59 -05:00
refactor: constructor promotions
This commit is contained in:
@@ -23,19 +23,13 @@ use Illuminate\Http\Request;
|
||||
*/
|
||||
class WishController extends Controller
|
||||
{
|
||||
/**
|
||||
* @var WishInterface
|
||||
*/
|
||||
private $wish;
|
||||
|
||||
/**
|
||||
* WishController Constructor.
|
||||
*
|
||||
* @param WishInterface $wish
|
||||
* @param \App\Interfaces\WishInterface $wish
|
||||
*/
|
||||
public function __construct(WishInterface $wish)
|
||||
public function __construct(private WishInterface $wish)
|
||||
{
|
||||
$this->wish = $wish;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user