@@ -345,7 +345,7 @@ |
||
| 345 | 345 | } |
| 346 | 346 | |
| 347 | 347 | /** |
| 348 | - * @return array |
|
| 348 | + * @return callable |
|
| 349 | 349 | * |
| 350 | 350 | * @throws Exceptions\InvalidStateException |
| 351 | 351 | */ |
@@ -30,7 +30,8 @@ |
||
| 30 | 30 | /** |
| 31 | 31 | * @param Components\IControl $confirmationDialogFactory |
| 32 | 32 | */ |
| 33 | - public function injectConfirmationDialog(Components\IControl $confirmationDialogFactory) { |
|
| 33 | + public function injectConfirmationDialog(Components\IControl $confirmationDialogFactory) |
|
| 34 | + { |
|
| 34 | 35 | $this->confirmationDialogFactory = $confirmationDialogFactory; |
| 35 | 36 | } |
| 36 | 37 | } |
@@ -14,4 +14,6 @@ |
||
| 14 | 14 | |
| 15 | 15 | namespace IPub\ConfirmationDialog\Exceptions; |
| 16 | 16 | |
| 17 | -interface IException {} |
|
| 18 | 17 | \ No newline at end of file |
| 18 | +interface IException |
|
| 19 | +{ |
|
| 20 | +} |
|
| 19 | 21 | \ No newline at end of file |
@@ -14,4 +14,6 @@ |
||
| 14 | 14 | |
| 15 | 15 | namespace IPub\ConfirmationDialog\Exceptions; |
| 16 | 16 | |
| 17 | -class InvalidArgumentException extends \Exception implements IException {} |
|
| 18 | 17 | \ No newline at end of file |
| 18 | +class InvalidArgumentException extends \Exception implements IException |
|
| 19 | +{ |
|
| 20 | +} |
|
| 19 | 21 | \ No newline at end of file |
@@ -14,4 +14,6 @@ |
||
| 14 | 14 | |
| 15 | 15 | namespace IPub\ConfirmationDialog\Exceptions; |
| 16 | 16 | |
| 17 | -class InvalidStateException extends \Exception implements IException {} |
|
| 18 | 17 | \ No newline at end of file |
| 18 | +class InvalidStateException extends \Exception implements IException |
|
| 19 | +{ |
|
| 20 | +} |
|
| 19 | 21 | \ No newline at end of file |
@@ -14,4 +14,6 @@ |
||
| 14 | 14 | |
| 15 | 15 | namespace IPub\ConfirmationDialog\Exceptions; |
| 16 | 16 | |
| 17 | -class IOException extends \RuntimeException implements IException {} |
|
| 18 | 17 | \ No newline at end of file |
| 18 | +class IOException extends \RuntimeException implements IException |
|
| 19 | +{ |
|
| 20 | +} |
|
| 19 | 21 | \ No newline at end of file |
@@ -14,4 +14,6 @@ |
||
| 14 | 14 | |
| 15 | 15 | namespace IPub\ConfirmationDialog\Exceptions; |
| 16 | 16 | |
| 17 | -class FileNotFoundException extends IOException implements IException {} |
|
| 18 | 17 | \ No newline at end of file |
| 18 | +class FileNotFoundException extends IOException implements IException |
|
| 19 | +{ |
|
| 20 | +} |
|
| 19 | 21 | \ No newline at end of file |
@@ -14,4 +14,6 @@ |
||
| 14 | 14 | |
| 15 | 15 | namespace IPub\ConfirmationDialog\Exceptions; |
| 16 | 16 | |
| 17 | -class HandlerNotCallableException extends \Exception implements IException {} |
|
| 18 | 17 | \ No newline at end of file |
| 18 | +class HandlerNotCallableException extends \Exception implements IException |
|
| 19 | +{ |
|
| 20 | +} |
|
| 19 | 21 | \ No newline at end of file |