Remove unused and defunct code

This commit is contained in:
Björn Fromme
2018-10-04 17:17:24 +02:00
parent 3859b18671
commit 2cb8e95933
5 changed files with 6 additions and 41 deletions
@@ -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');