improve code

This commit is contained in:
Daniel Seifert 2021-07-14 23:04:33 +02:00
parent f42c42cbe4
commit 759e8a377d
Signed by: DanielS
GPG Key ID: 6A513E13AEE66170
5 changed files with 10 additions and 4 deletions

View File

@ -25,7 +25,7 @@ use OxidEsales\Eshop\Core\Registry;
class FixArtextendsItems extends ActionBase class FixArtextendsItems extends ActionBase
{ {
/** /**
* fehlende oxartextends-Einträge nachtragen * fehlende oxartextends-Einträge nachtragen
*/ */
/** /**

View File

@ -16,7 +16,6 @@ declare(strict_types=1);
namespace D3\DataWizard\Application\Model\Exceptions; namespace D3\DataWizard\Application\Model\Exceptions;
use Exception; use Exception;
use OxidEsales\Eshop\Core\Exception\StandardException;
use OxidEsales\Eshop\Core\Registry; use OxidEsales\Eshop\Core\Registry;
class DebugException extends DataWizardException class DebugException extends DataWizardException

View File

@ -15,6 +15,7 @@ declare(strict_types=1);
namespace D3\DataWizard\Application\Model\Exceptions; namespace D3\DataWizard\Application\Model\Exceptions;
use Exception;
use OxidEsales\Eshop\Core\Registry; use OxidEsales\Eshop\Core\Registry;
class ExportFileException extends DataWizardException class ExportFileException extends DataWizardException

View File

@ -18,13 +18,20 @@ namespace D3\DataWizard\Application\Model\Exceptions;
use D3\DataWizard\Application\Model\QueryBase; use D3\DataWizard\Application\Model\QueryBase;
use Exception; use Exception;
use FormManager\Inputs\Input; use FormManager\Inputs\Input;
use OxidEsales\Eshop\Core\Exception\StandardException;
class InputUnvalidException extends DataWizardException class InputUnvalidException extends DataWizardException
{ {
/** @var QueryBase */ /** @var QueryBase */
public $task; public $task;
/**
* InputUnvalidException constructor.
* @param QueryBase $task
* @param Input $inputElement
* @param int $iCode
* @param Exception|null $previous
* @throws Exception
*/
public function __construct( QueryBase $task, Input $inputElement, $iCode = 0, Exception $previous = null ) public function __construct( QueryBase $task, Input $inputElement, $iCode = 0, Exception $previous = null )
{ {
$messages = []; $messages = [];

View File

@ -16,7 +16,6 @@ declare(strict_types=1);
namespace D3\DataWizard\Application\Model\Exceptions; namespace D3\DataWizard\Application\Model\Exceptions;
use Exception; use Exception;
use OxidEsales\Eshop\Core\Exception\StandardException;
use OxidEsales\Eshop\Core\Registry; use OxidEsales\Eshop\Core\Registry;
class NoSuitableRendererException extends DataWizardException class NoSuitableRendererException extends DataWizardException