Remove unused and defunct code
This commit is contained in:
@@ -39,12 +39,12 @@ class ProductViewHelper extends AbstractViewHelper
|
||||
{
|
||||
use CompileWithRenderStatic;
|
||||
|
||||
public function initializeArgument()
|
||||
public function initializeArguments()
|
||||
{
|
||||
parent::initializeArguments();
|
||||
|
||||
$this->registerArgument('product', Product::class, 'The product', true);
|
||||
$this->registerArgument('hotel', Hotel::class, 'The hotel');
|
||||
$this->registerArgument('hotel', 'mixed', 'The hotel');
|
||||
$this->registerArgument('linkHotel', 'bool', 'Whether to link the hotel', false, false);
|
||||
$this->registerArgument('referringPageUid', 'int', 'Uid of the referring page');
|
||||
$this->registerArgument('defaultDetailPageUid', 'int', 'Uid of default page for product details');
|
||||
|
||||
Reference in New Issue
Block a user