@@ -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 | */ |
@@ -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 |
@@ -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 | |