@@ -6,7 +6,7 @@ discard block |
||
6 | 6 | * |
7 | 7 | * @package Hyphper |
8 | 8 | */ |
9 | -declare(strict_types=1); |
|
9 | +declare(strict_types = 1); |
|
10 | 10 | |
11 | 11 | namespace Hyphper; |
12 | 12 | |
@@ -196,7 +196,7 @@ discard block |
||
196 | 196 | |
197 | 197 | $header = pack( |
198 | 198 | 'nCCCN', |
199 | - ($this->body_len & 0xFFFF00) >> 8, // Length spread over top 24 bits |
|
199 | + ($this->body_len & 0xFFFF00) >> 8, // Length spread over top 24 bits |
|
200 | 200 | $this->body_len & 0x0000FF, |
201 | 201 | $this->type, |
202 | 202 | $flags, |
@@ -221,7 +221,7 @@ |
||
221 | 221 | /** |
222 | 222 | * @param $flag_byte |
223 | 223 | * |
224 | - * @return Flags |
|
224 | + * @return Frame\Flags |
|
225 | 225 | * @throws Frame\Exception\InvalidFlagException |
226 | 226 | */ |
227 | 227 | public function parseFlags(int $flag_byte): Flags |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types=1); |
|
2 | +declare(strict_types = 1); |
|
3 | 3 | namespace Hyphper\Frame; |
4 | 4 | |
5 | 5 | use Hyphper\Frame\PaddingInterface; |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types=1); |
|
2 | +declare(strict_types = 1); |
|
3 | 3 | namespace Hyphper\Frame; |
4 | 4 | |
5 | 5 | use Hyphper\Frame\PaddingInterface; |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types=1); |
|
2 | +declare(strict_types = 1); |
|
3 | 3 | namespace Hyphper\Frame; |
4 | 4 | |
5 | 5 | use Hyphper\Frame\PaddingInterface; |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types=1); |
|
2 | +declare(strict_types = 1); |
|
3 | 3 | namespace Hyphper\Frame; |
4 | 4 | |
5 | 5 | use Hyphper\Frame\PaddingInterface; |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types=1); |
|
2 | +declare(strict_types = 1); |
|
3 | 3 | namespace Hyphper\Frame; |
4 | 4 | |
5 | 5 | use Hyphper\Frame\PaddingInterface; |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types=1); |
|
2 | +declare(strict_types = 1); |
|
3 | 3 | namespace Hyphper\Frame; |
4 | 4 | |
5 | 5 | use Hyphper\Frame\PaddingInterface; |
@@ -3,6 +3,6 @@ |
||
3 | 3 | |
4 | 4 | interface PaddingInterface |
5 | 5 | { |
6 | - const IS_PADDED = 1; |
|
7 | - const IS_NOT_PADDED = 0; |
|
6 | + const IS_PADDED = 1; |
|
7 | + const IS_NOT_PADDED = 0; |
|
8 | 8 | } |
9 | 9 | \ No newline at end of file |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types=1); |
|
2 | +declare(strict_types = 1); |
|
3 | 3 | namespace Hyphper\Frame; |
4 | 4 | |
5 | 5 | use Hyphper\Frame\PaddingInterface; |