Commit 25abe397 authored by Tino Goratsch's avatar Tino Goratsch

docblock fixes

parent 839a17e1
......@@ -50,7 +50,7 @@ class Create extends AbstractFormAction
}
/**
* @return array|\Symfony\Component\HttpFoundation\RedirectResponse
* @return array
*/
public function execute()
{
......
......@@ -52,7 +52,7 @@ class Edit extends AbstractFormAction
/**
* @param int $id
*
* @return array|\Symfony\Component\HttpFoundation\RedirectResponse
* @return array
* @throws \ACP3\Core\Controller\Exception\ResultNotExistsException
*/
public function execute($id)
......
......@@ -55,7 +55,7 @@ class Create extends Core\Controller\AbstractAdminAction
}
/**
* @return array|\Symfony\Component\HttpFoundation\RedirectResponse
* @return array
*/
public function execute()
{
......
......@@ -50,7 +50,7 @@ class Edit extends Core\Controller\AbstractAdminAction
/**
* @param int $id
*
* @return array|\Symfony\Component\HttpFoundation\RedirectResponse
* @return array
* @throws \ACP3\Core\Controller\Exception\ResultNotExistsException
*/
public function execute($id)
......
......@@ -43,7 +43,7 @@ class Settings extends Core\Controller\AbstractAdminAction
}
/**
* @return array|\Symfony\Component\HttpFoundation\RedirectResponse
* @return array
*/
public function execute()
{
......
......@@ -54,7 +54,7 @@ class Edit extends Core\Controller\AbstractAdminAction
/**
* @param int $id
*
* @return array|\Symfony\Component\HttpFoundation\RedirectResponse
* @return array
* @throws \ACP3\Core\Controller\Exception\ResultNotExistsException
*/
public function execute($id)
......
......@@ -31,17 +31,17 @@ class Settings extends Core\Controller\AbstractAdminAction
/**
* Settings constructor.
*
* @param \ACP3\Core\Controller\Context\AdminContext $context
* @param \ACP3\Core\Helpers\Forms $formsHelper
* @param \ACP3\Core\Controller\Context\AdminContext $context
* @param \ACP3\Core\Helpers\Forms $formsHelper
* @param \ACP3\Modules\ACP3\Comments\Validation\AdminSettingsFormValidation $adminSettingsFormValidation
* @param \ACP3\Core\Helpers\FormToken $formTokenHelper
* @param \ACP3\Core\Helpers\FormToken $formTokenHelper
*/
public function __construct(
Core\Controller\Context\AdminContext $context,
Core\Helpers\Forms $formsHelper,
Comments\Validation\AdminSettingsFormValidation $adminSettingsFormValidation,
Core\Helpers\FormToken $formTokenHelper)
{
Core\Helpers\FormToken $formTokenHelper
) {
parent::__construct($context);
$this->formsHelper = $formsHelper;
......@@ -50,7 +50,7 @@ class Settings extends Core\Controller\AbstractAdminAction
}
/**
* @return array|\Symfony\Component\HttpFoundation\RedirectResponse
* @return array
*/
public function execute()
{
......
......@@ -50,7 +50,7 @@ class Create extends AbstractFrontendAction
* @param string $module
* @param int $entryId
* @param string $redirectUrl
* @return array|\Symfony\Component\HttpFoundation\RedirectResponse
* @return array
*/
public function execute($module, $entryId, $redirectUrl)
{
......
......@@ -50,7 +50,7 @@ class Settings extends Core\Controller\AbstractAdminAction
}
/**
* @return array|\Symfony\Component\HttpFoundation\RedirectResponse
* @return array
*/
public function execute()
{
......
......@@ -55,7 +55,7 @@ class Index extends Core\Controller\AbstractFrontendAction
}
/**
* @return array|\Symfony\Component\HttpFoundation\RedirectResponse
* @return array
*/
public function execute()
{
......
......@@ -50,7 +50,7 @@ class Create extends Core\Controller\AbstractAdminAction
}
/**
* @return array|\Symfony\Component\HttpFoundation\RedirectResponse
* @return array
*/
public function execute()
{
......
......@@ -52,7 +52,7 @@ class Edit extends Core\Controller\AbstractAdminAction
/**
* @param int $id
*
* @return array|\Symfony\Component\HttpFoundation\RedirectResponse
* @return array
* @throws \ACP3\Core\Controller\Exception\ResultNotExistsException
*/
public function execute($id)
......
......@@ -43,7 +43,7 @@ class Settings extends Core\Controller\AbstractAdminAction
}
/**
* @return array|\Symfony\Component\HttpFoundation\RedirectResponse
* @return array
*/
public function execute()
{
......
......@@ -55,7 +55,7 @@ class Settings extends Core\Controller\AbstractAdminAction
}
/**
* @return array|\Symfony\Component\HttpFoundation\RedirectResponse
* @return array
*/
public function execute()
{
......
......@@ -66,7 +66,7 @@ class Create extends AbstractFormAction
}
/**
* @return array|\Symfony\Component\HttpFoundation\RedirectResponse
* @return array
*/
public function execute()
{
......
......@@ -70,7 +70,7 @@ class Edit extends AbstractFormAction
/**
* @param int $id
*
* @return array|\Symfony\Component\HttpFoundation\RedirectResponse
* @return array
* @throws \ACP3\Core\Controller\Exception\ResultNotExistsException
*/
public function execute($id)
......
......@@ -71,14 +71,17 @@ class Settings extends Core\Controller\AbstractAdminAction
}
/**
* @return array|\Symfony\Component\HttpFoundation\RedirectResponse
* @return array
*/
public function execute()
{
$settings = $this->config->getSettings(Files\Installer\Schema::MODULE_NAME);
if ($this->commentsHelpers) {
$this->view->assign('comments', $this->formsHelper->yesNoCheckboxGenerator('comments', $settings['comments']));
$this->view->assign(
'comments',
$this->formsHelper->yesNoCheckboxGenerator('comments', $settings['comments'])
);
}
return [
......
......@@ -50,7 +50,7 @@ class Create extends Core\Controller\AbstractAdminAction
}
/**
* @return array|\Symfony\Component\HttpFoundation\RedirectResponse
* @return array
*/
public function execute()
{
......
......@@ -60,7 +60,7 @@ class Edit extends Core\Controller\AbstractAdminAction
/**
* @param int $id
*
* @return array|\Symfony\Component\HttpFoundation\RedirectResponse
* @return array
* @throws \ACP3\Core\Controller\Exception\ResultNotExistsException
*/
public function execute($id)
......
......@@ -50,7 +50,7 @@ class Settings extends Core\Controller\AbstractAdminAction
}
/**
* @return array|\Symfony\Component\HttpFoundation\RedirectResponse
* @return array
*/
public function execute()
{
......
......@@ -59,7 +59,7 @@ class Edit extends Core\Controller\AbstractAdminAction
/**
* @param int $id
*
* @return array|\Symfony\Component\HttpFoundation\RedirectResponse
* @return array
* @throws \ACP3\Core\Controller\Exception\ResultNotExistsException
*/
public function execute($id)
......
......@@ -50,7 +50,7 @@ class Settings extends Core\Controller\AbstractAdminAction
}
/**
* @return array|\Symfony\Component\HttpFoundation\RedirectResponse
* @return array
*/
public function execute()
{
......
......@@ -85,7 +85,7 @@ class Create extends AbstractAction
}
/**
* @return array|\Symfony\Component\HttpFoundation\RedirectResponse
* @return array
*/
public function execute()
{
......
......@@ -50,7 +50,7 @@ class Create extends Core\Controller\AbstractAdminAction
}
/**
* @return array|\Symfony\Component\HttpFoundation\RedirectResponse
* @return array
*/
public function execute()
{
......
......@@ -52,7 +52,7 @@ class Edit extends Core\Controller\AbstractAdminAction
/**
* @param int $id
*
* @return array|\Symfony\Component\HttpFoundation\RedirectResponse
* @return array
* @throws \ACP3\Core\Controller\Exception\ResultNotExistsException
*/
public function execute($id)
......
......@@ -70,7 +70,7 @@ class Create extends AbstractFormAction
}
/**
* @return array|\Symfony\Component\HttpFoundation\RedirectResponse
* @return array
*/
public function execute()
{
......
......@@ -61,7 +61,7 @@ class Edit extends AbstractFormAction
/**
* @param int $id
*
* @return array|\Symfony\Component\HttpFoundation\RedirectResponse
* @return array
* @throws \ACP3\Core\Controller\Exception\ResultNotExistsException
*/
public function execute($id)
......
......@@ -57,7 +57,7 @@ class Create extends AbstractFormAction
}
/**
* @return array|\Symfony\Component\HttpFoundation\RedirectResponse
* @return array
*/
public function execute()
{
......
......@@ -59,7 +59,7 @@ class Edit extends AbstractFormAction
/**
* @param int $id
*
* @return array|\Symfony\Component\HttpFoundation\RedirectResponse
* @return array
* @throws \ACP3\Core\Controller\Exception\ResultNotExistsException
*/
public function execute($id)
......
......@@ -52,7 +52,7 @@ class Settings extends Core\Controller\AbstractAdminAction
}
/**
* @return array|\Symfony\Component\HttpFoundation\RedirectResponse
* @return array
*/
public function execute()
{
......
......@@ -58,7 +58,7 @@ class Create extends AbstractFormAction
}
/**
* @return array|\Symfony\Component\HttpFoundation\RedirectResponse
* @return array
*/
public function execute()
{
......
......@@ -60,7 +60,7 @@ class Edit extends AbstractFormAction
/**
* @param int $id
*
* @return array|\Symfony\Component\HttpFoundation\RedirectResponse
* @return array
* @throws \ACP3\Core\Controller\Exception\ResultNotExistsException
*/
public function execute($id)
......
......@@ -57,7 +57,7 @@ class Settings extends Core\Controller\AbstractAdminAction
}
/**
* @return array|\Symfony\Component\HttpFoundation\RedirectResponse
* @return array
*/
public function execute()
{
......
......@@ -57,7 +57,7 @@ class Index extends Core\Controller\AbstractFrontendAction
}
/**
* @return array|\Symfony\Component\HttpFoundation\RedirectResponse
* @return array
*/
public function execute()
{
......
......@@ -50,7 +50,7 @@ class Unsubscribe extends Core\Controller\AbstractFrontendAction
}
/**
* @return array|\Symfony\Component\HttpFoundation\RedirectResponse
* @return array
*/
public function execute()
{
......
......@@ -62,7 +62,7 @@ class Create extends AbstractFormAction
}
/**
* @return array|\Symfony\Component\HttpFoundation\RedirectResponse
* @return array
*/
public function execute()
{
......
......@@ -64,7 +64,7 @@ class Edit extends AbstractFormAction
/**
* @param int $id
*
* @return array|\Symfony\Component\HttpFoundation\RedirectResponse
* @return array
* @throws \ACP3\Core\Controller\Exception\ResultNotExistsException
*/
public function execute($id)
......
......@@ -52,7 +52,7 @@ class Create extends AbstractFormAction
}
/**
* @return array|\Symfony\Component\HttpFoundation\RedirectResponse
* @return array
*/
public function execute()
{
......
......@@ -54,7 +54,7 @@ class Edit extends AbstractFormAction
/**
* @param int $id
*
* @return array|\Symfony\Component\HttpFoundation\RedirectResponse
* @return array
* @throws \ACP3\Core\Controller\Exception\ResultNotExistsException
*/
public function execute($id)
......
......@@ -65,7 +65,7 @@ class Create extends AbstractFormAction
}
/**
* @return array|\Symfony\Component\HttpFoundation\RedirectResponse
* @return array
*/
public function execute()
{
......
......@@ -61,7 +61,7 @@ class Edit extends AbstractFormAction
/**
* @param int $id
*
* @return array|\Symfony\Component\HttpFoundation\RedirectResponse
* @return array
* @throws \ACP3\Core\Controller\Exception\ResultNotExistsException
*/
public function execute($id)
......
......@@ -64,7 +64,7 @@ class Vote extends Core\Controller\AbstractFrontendAction
/**
* @param int $id
*
* @return array|\Symfony\Component\HttpFoundation\RedirectResponse
* @return array
* @throws \ACP3\Core\Controller\Exception\ResultNotExistsException
*/
public function execute($id)
......
......@@ -64,7 +64,7 @@ class Create extends Core\Controller\AbstractAdminAction
}
/**
* @return array|\Symfony\Component\HttpFoundation\RedirectResponse
* @return array
*/
public function execute()
{
......
......@@ -59,7 +59,7 @@ class Edit extends Core\Controller\AbstractAdminAction
/**
* @param int $id
*
* @return array|\Symfony\Component\HttpFoundation\RedirectResponse
* @return array
* @throws \ACP3\Core\Controller\Exception\ResultNotExistsException
*/
public function execute($id)
......
......@@ -50,7 +50,7 @@ class Settings extends Core\Controller\AbstractAdminAction
}
/**
* @return array|\Symfony\Component\HttpFoundation\RedirectResponse
* @return array
*/
public function execute()
{
......
......@@ -50,7 +50,7 @@ class Configuration extends Core\Controller\AbstractAdminAction
}
/**
* @return array|\Symfony\Component\HttpFoundation\RedirectResponse
* @return array
*/
public function execute()
{
......
......@@ -68,7 +68,7 @@ class Create extends AbstractFormAction
}
/**
* @return array|\Symfony\Component\HttpFoundation\RedirectResponse
* @return array
*/
public function execute()
{
......
......@@ -75,7 +75,7 @@ class Edit extends AbstractFormAction
/**
* @param int $id
*
* @return array|\Symfony\Component\HttpFoundation\RedirectResponse
* @return array
* @throws \ACP3\Core\Controller\Exception\ResultNotExistsException
*/
public function execute($id)
......
......@@ -50,7 +50,7 @@ class Settings extends Core\Controller\AbstractAdminAction
}
/**
* @return array|\Symfony\Component\HttpFoundation\RedirectResponse
* @return array
*/
public function execute()
{
......
......@@ -57,7 +57,7 @@ class Edit extends AbstractAction
}
/**
* @return array|\Symfony\Component\HttpFoundation\RedirectResponse
* @return array
*/
public function execute()
{
......
......@@ -70,7 +70,7 @@ class Settings extends AbstractAction
}
/**
* @return array|\Symfony\Component\HttpFoundation\RedirectResponse
* @return array
*/
public function execute()
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment