@@ -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\Application\Crypter; |
| 6 | 6 | |
@@ -14,7 +14,7 @@ discard block |
||
| 14 | 14 | * @param Paste $paste |
| 15 | 15 | * @param string $key |
| 16 | 16 | */ |
| 17 | - public function encrypt(Paste &$paste, string $key): void; |
|
| 17 | + public function encrypt(Paste&$paste, string $key): void; |
|
| 18 | 18 | |
| 19 | 19 | /** |
| 20 | 20 | * Decrypts encrypted fields. |
@@ -24,5 +24,5 @@ discard block |
||
| 24 | 24 | * |
| 25 | 25 | * @throws CrypterException when given key is invalid. |
| 26 | 26 | */ |
| 27 | - public function decrypt(Paste &$paste, string $key): void; |
|
| 27 | + public function decrypt(Paste&$paste, string $key): void; |
|
| 28 | 28 | } |
@@ -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\Form; |
| 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; |
| 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\Generator; |
| 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\Infrastructure\Dbal; |
| 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\Infrastructure; |
| 6 | 6 | |
@@ -15,7 +15,7 @@ discard block |
||
| 15 | 15 | /** |
| 16 | 16 | * {@inheritdoc} |
| 17 | 17 | */ |
| 18 | - public function encrypt(Paste &$paste, string $key): void |
|
| 18 | + public function encrypt(Paste&$paste, string $key): void |
|
| 19 | 19 | { |
| 20 | 20 | $key = $this->keyToEncryptionKey($key); |
| 21 | 21 | |
@@ -42,7 +42,7 @@ discard block |
||
| 42 | 42 | /** |
| 43 | 43 | * {@inheritdoc} |
| 44 | 44 | */ |
| 45 | - public function decrypt(Paste &$paste, string $key): void |
|
| 45 | + public function decrypt(Paste&$paste, string $key): void |
|
| 46 | 46 | { |
| 47 | 47 | $key = $this->keyToEncryptionKey($key); |
| 48 | 48 | |
@@ -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\Domain; |
| 6 | 6 | |
@@ -35,7 +35,7 @@ discard block |
||
| 35 | 35 | * @param null|string $title |
| 36 | 36 | * @param DateTime $createdAt |
| 37 | 37 | */ |
| 38 | - public function __construct(Paste\Id $id, ?string $title, DateTime $createdAt) |
|
| 38 | + public function __construct(Paste\Id $id, ? string $title, DateTime $createdAt) |
|
| 39 | 39 | { |
| 40 | 40 | $this->id = $id; |
| 41 | 41 | $this->title = $title; |
@@ -53,7 +53,7 @@ discard block |
||
| 53 | 53 | /** |
| 54 | 54 | * @return null|string |
| 55 | 55 | */ |
| 56 | - public function getTitle(): ?string |
|
| 56 | + public function getTitle(): ? string |
|
| 57 | 57 | { |
| 58 | 58 | return $this->title; |
| 59 | 59 | } |
@@ -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\Domain; |
| 6 | 6 | |
@@ -22,7 +22,7 @@ discard block |
||
| 22 | 22 | * @param null|string $filename |
| 23 | 23 | * @param string $content |
| 24 | 24 | */ |
| 25 | - public function __construct(?string $filename, string $content) |
|
| 25 | + public function __construct(? string $filename, string $content) |
|
| 26 | 26 | { |
| 27 | 27 | $this->filename = $filename; |
| 28 | 28 | $this->content = $content; |
@@ -31,7 +31,7 @@ discard block |
||
| 31 | 31 | /** |
| 32 | 32 | * @return null|string |
| 33 | 33 | */ |
| 34 | - public function getFilename(): ?string |
|
| 34 | + public function getFilename(): ? string |
|
| 35 | 35 | { |
| 36 | 36 | return $this->filename; |
| 37 | 37 | } |
@@ -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\Domain\Paste; |
| 6 | 6 | |