@@ -16,7 +16,6 @@ |
||
16 | 16 | |
17 | 17 | use Nette; |
18 | 18 | use Nette\Application; |
19 | - |
|
20 | 19 | use IPub; |
21 | 20 | use IPub\ConfirmationDialog; |
22 | 21 | use IPub\ConfirmationDialog\Exceptions; |
@@ -16,9 +16,7 @@ |
||
16 | 16 | |
17 | 17 | use Nette; |
18 | 18 | use Nette\Application; |
19 | -use Nette\Localization; |
|
20 | 19 | use Nette\Utils; |
21 | - |
|
22 | 20 | use IPub; |
23 | 21 | use IPub\ConfirmationDialog\Exceptions; |
24 | 22 |
@@ -16,8 +16,6 @@ |
||
16 | 16 | |
17 | 17 | use Nette; |
18 | 18 | use Nette\DI; |
19 | -use Nette\PhpGenerator as Code; |
|
20 | - |
|
21 | 19 | use IPub\ConfirmationDialog; |
22 | 20 | |
23 | 21 | class ConfirmationDialogExtension extends DI\CompilerExtension |
@@ -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 |