@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | use Nastoletni\Code\AppKernel; |
| 6 | 6 | |
@@ -1,6 +1,6 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | namespace Nastoletni\Code\Slim\Handler; |
| 6 | 6 | |
@@ -27,7 +27,7 @@ discard block |
||
| 27 | 27 | * @param LoggerInterface $logger |
| 28 | 28 | * @param callable|null $nextHandler |
| 29 | 29 | */ |
| 30 | - public function __construct(LoggerInterface $logger, ?callable $nextHandler = null) |
|
| 30 | + public function __construct(LoggerInterface $logger, ? callable $nextHandler = null) |
|
| 31 | 31 | { |
| 32 | 32 | $this->logger = $logger; |
| 33 | 33 | $this->nextHandler = $nextHandler; |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | namespace Nastoletni\Code\Slim; |
| 6 | 6 | |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | namespace Nastoletni\Code\Slim\Middleware; |
| 6 | 6 | |
@@ -1,6 +1,6 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | namespace Nastoletni\Code\Twig; |
| 6 | 6 | |
@@ -28,7 +28,7 @@ discard block |
||
| 28 | 28 | * |
| 29 | 29 | * @return iterable |
| 30 | 30 | */ |
| 31 | - public function error(string $field, ?ConstraintViolationListInterface $errors): iterable |
|
| 31 | + public function error(string $field, ? ConstraintViolationListInterface $errors) : iterable |
|
| 32 | 32 | { |
| 33 | 33 | if (is_null($errors)) { |
| 34 | 34 | return; |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | namespace Nastoletni\Code\UserInterface\Controller; |
| 6 | 6 | |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | namespace Nastoletni\Code\UserInterface\Web\Controller; |
| 6 | 6 | |
@@ -8,9 +8,9 @@ |
||
| 8 | 8 | use Nastoletni\Code\Application\Crypter\PasteCrypter; |
| 9 | 9 | use Nastoletni\Code\Application\Form\CreatePasteFormValidator; |
| 10 | 10 | use Nastoletni\Code\Application\Service\CreatePasteService; |
| 11 | +use Nastoletni\Code\Domain\PasteRepository; |
|
| 11 | 12 | use Nastoletni\Code\Domain\Paste\Id; |
| 12 | 13 | use Nastoletni\Code\Domain\Paste\NotExistsException; |
| 13 | -use Nastoletni\Code\Domain\PasteRepository; |
|
| 14 | 14 | use Nastoletni\Code\UserInterface\Controller\AbstractController; |
| 15 | 15 | use Psr\Http\Message\ResponseInterface as Response; |
| 16 | 16 | use Psr\Http\Message\ServerRequestInterface as Request; |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | namespace Nastoletni\Code\Application\Service; |
| 6 | 6 | |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | namespace Nastoletni\Code\Application\Crypter; |
| 6 | 6 | |