@@ -1,10 +1,10 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * Spiral Framework. |
|
| 4 | - * |
|
| 5 | - * @license MIT |
|
| 6 | - * @author Anton Titov (Wolfy-J) |
|
| 7 | - */ |
|
| 3 | + * Spiral Framework. |
|
| 4 | + * |
|
| 5 | + * @license MIT |
|
| 6 | + * @author Anton Titov (Wolfy-J) |
|
| 7 | + */ |
|
| 8 | 8 | namespace Spiral; |
| 9 | 9 | |
| 10 | 10 | /** |
@@ -135,9 +135,9 @@ |
||
| 135 | 135 | |
| 136 | 136 | $vector = $this->createIV(openssl_cipher_iv_length($this->cipher)); |
| 137 | 137 | |
| 138 | - try{ |
|
| 138 | + try { |
|
| 139 | 139 | $serialized = json_encode($data); |
| 140 | - } catch (\ErrorException $e){ |
|
| 140 | + } catch (\ErrorException $e) { |
|
| 141 | 141 | throw new EncrypterException("Unsupported data format", null, $e); |
| 142 | 142 | } |
| 143 | 143 | |
@@ -1,10 +1,10 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * Spiral Framework. |
|
| 4 | - * |
|
| 5 | - * @license MIT |
|
| 6 | - * @author Anton Titov (Wolfy-J) |
|
| 7 | - */ |
|
| 3 | + * Spiral Framework. |
|
| 4 | + * |
|
| 5 | + * @license MIT |
|
| 6 | + * @author Anton Titov (Wolfy-J) |
|
| 7 | + */ |
|
| 8 | 8 | namespace Spiral; |
| 9 | 9 | |
| 10 | 10 | /** |
@@ -1,10 +1,10 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * Spiral Framework. |
|
| 4 | - * |
|
| 5 | - * @license MIT |
|
| 6 | - * @author Anton Titov (Wolfy-J) |
|
| 7 | - */ |
|
| 3 | + * Spiral Framework. |
|
| 4 | + * |
|
| 5 | + * @license MIT |
|
| 6 | + * @author Anton Titov (Wolfy-J) |
|
| 7 | + */ |
|
| 8 | 8 | namespace Spiral; |
| 9 | 9 | |
| 10 | 10 | /** |
@@ -1,10 +1,10 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * Spiral Framework. |
|
| 4 | - * |
|
| 5 | - * @license MIT |
|
| 6 | - * @author Anton Titov (Wolfy-J) |
|
| 7 | - */ |
|
| 3 | + * Spiral Framework. |
|
| 4 | + * |
|
| 5 | + * @license MIT |
|
| 6 | + * @author Anton Titov (Wolfy-J) |
|
| 7 | + */ |
|
| 8 | 8 | namespace Spiral; |
| 9 | 9 | |
| 10 | 10 | /** |
@@ -1,10 +1,10 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * Spiral Framework. |
|
| 4 | - * |
|
| 5 | - * @license MIT |
|
| 6 | - * @author Anton Titov (Wolfy-J) |
|
| 7 | - */ |
|
| 3 | + * Spiral Framework. |
|
| 4 | + * |
|
| 5 | + * @license MIT |
|
| 6 | + * @author Anton Titov (Wolfy-J) |
|
| 7 | + */ |
|
| 8 | 8 | namespace Spiral; |
| 9 | 9 | |
| 10 | 10 | /** |
@@ -1,10 +1,10 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * Spiral Framework. |
|
| 4 | - * |
|
| 5 | - * @license MIT |
|
| 6 | - * @author Anton Titov (Wolfy-J) |
|
| 7 | - */ |
|
| 3 | + * Spiral Framework. |
|
| 4 | + * |
|
| 5 | + * @license MIT |
|
| 6 | + * @author Anton Titov (Wolfy-J) |
|
| 7 | + */ |
|
| 8 | 8 | namespace Spiral; |
| 9 | 9 | |
| 10 | 10 | /** |
@@ -1,10 +1,10 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * Spiral Framework. |
|
| 4 | - * |
|
| 5 | - * @license MIT |
|
| 6 | - * @author Anton Titov (Wolfy-J) |
|
| 7 | - */ |
|
| 3 | + * Spiral Framework. |
|
| 4 | + * |
|
| 5 | + * @license MIT |
|
| 6 | + * @author Anton Titov (Wolfy-J) |
|
| 7 | + */ |
|
| 8 | 8 | namespace Spiral; |
| 9 | 9 | |
| 10 | 10 | /** |
@@ -1,10 +1,10 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * Spiral Framework. |
|
| 4 | - * |
|
| 5 | - * @license MIT |
|
| 6 | - * @author Anton Titov (Wolfy-J) |
|
| 7 | - */ |
|
| 3 | + * Spiral Framework. |
|
| 4 | + * |
|
| 5 | + * @license MIT |
|
| 6 | + * @author Anton Titov (Wolfy-J) |
|
| 7 | + */ |
|
| 8 | 8 | namespace Spiral; |
| 9 | 9 | |
| 10 | 10 | /** |
@@ -1,10 +1,10 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * Spiral Framework. |
|
| 4 | - * |
|
| 5 | - * @license MIT |
|
| 6 | - * @author Anton Titov (Wolfy-J) |
|
| 7 | - */ |
|
| 3 | + * Spiral Framework. |
|
| 4 | + * |
|
| 5 | + * @license MIT |
|
| 6 | + * @author Anton Titov (Wolfy-J) |
|
| 7 | + */ |
|
| 8 | 8 | namespace Spiral; |
| 9 | 9 | |
| 10 | 10 | /** |