refactor: constructor promotions

This commit is contained in:
HDVinnie
2020-12-17 23:25:50 -05:00
parent ca3ff01ff6
commit 467d31f10a
79 changed files with 232 additions and 863 deletions
+2 -8
View File
@@ -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;
}
/**