@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /** |
6 | 6 | * Copyright (c) 2017-present Ganbaro Digital Ltd |
@@ -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 | /** |
6 | 6 | * Copyright (c) 2017-present Ganbaro Digital Ltd |
@@ -79,7 +79,7 @@ discard block |
||
79 | 79 | * @return NextInstruction[] |
80 | 80 | * the assembled pipelines |
81 | 81 | */ |
82 | - public static function from($definition, $directions = InstructionPipeline::DI_FORWARD|InstructionPipeline::DI_REVERSE, $wrapperClass = NextInstruction::class) |
|
82 | + public static function from($definition, $directions = InstructionPipeline::DI_FORWARD | InstructionPipeline::DI_REVERSE, $wrapperClass = NextInstruction::class) |
|
83 | 83 | { |
84 | 84 | return parent::from($definition, $directions, $wrapperClass); |
85 | 85 | } |
@@ -94,7 +94,7 @@ |
||
94 | 94 | { |
95 | 95 | // deal with a bad cipher |
96 | 96 | $errorMessage = null; |
97 | - set_error_handler(function ($errno, $errstr) use (&$errorMessage) { |
|
97 | + set_error_handler(function($errno, $errstr) use (&$errorMessage) { |
|
98 | 98 | $errorMessage = $errstr; |
99 | 99 | }); |
100 | 100 | $requiredLen = openssl_cipher_iv_length($encryptionType); |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /** |
6 | 6 | * Copyright (c) 2017-present Ganbaro Digital Ltd |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /** |
6 | 6 | * Copyright (c) 2017-present Ganbaro Digital Ltd |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /** |
6 | 6 | * Copyright (c) 2017-present Ganbaro Digital Ltd |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /** |
6 | 6 | * Copyright (c) 2017-present Ganbaro Digital Ltd |
@@ -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 | /** |
6 | 6 | * Copyright (c) 2017-present Ganbaro Digital Ltd |
@@ -75,7 +75,7 @@ discard block |
||
75 | 75 | // |
76 | 76 | // if the HMAC is missing or invalid, it will throw an exception |
77 | 77 | // so that we don't have to |
78 | - Operations\VerifyHmac::for( |
|
78 | + Operations\VerifyHmac::for ( |
|
79 | 79 | $message, |
80 | 80 | $expectedHmac, |
81 | 81 | $this->hmacType, |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /** |
6 | 6 | * Copyright (c) 2017-present Ganbaro Digital Ltd |