@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | |
3 | 3 | namespace DaveRandom\LibLifxLan\Encoding; |
4 | 4 |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | |
3 | 3 | namespace DaveRandom\LibLifxLan\Encoding\Exceptions; |
4 | 4 |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | |
3 | 3 | namespace DaveRandom\LibLifxLan; |
4 | 4 |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | |
3 | 3 | namespace DaveRandom\LibLifxLan\Decoding; |
4 | 4 |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | |
3 | 3 | namespace DaveRandom\LibLifxLan\Decoding\Exceptions; |
4 | 4 |
@@ -1,4 +1,4 @@ discard block |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | |
3 | 3 | namespace DaveRandom\LibLifxLan\Decoding; |
4 | 4 | |
@@ -18,10 +18,10 @@ discard block |
||
18 | 18 | $size = $parts['size']; |
19 | 19 | $source = $parts['source']; |
20 | 20 | |
21 | - $origin = ($parts['protocol'] & 0xC000) >> 14; |
|
21 | + $origin = ($parts['protocol'] & 0xC000) >> 14; |
|
22 | 22 | $isTagged = (bool)($parts['protocol'] & 0x2000); |
23 | 23 | $isAddressable = (bool)($parts['protocol'] & 0x1000); |
24 | - $protocol = ($parts['protocol'] & 0x0FFF); |
|
24 | + $protocol = ($parts['protocol'] & 0x0FFF); |
|
25 | 25 | |
26 | 26 | return new Frame($size, $origin, $isTagged, $isAddressable, $protocol, $source); |
27 | 27 | } |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | |
3 | 3 | namespace DaveRandom\LibLifxLan\Header; |
4 | 4 |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | |
3 | 3 | namespace DaveRandom\LibLifxLan\Messages\Light\Commands; |
4 | 4 |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | |
3 | 3 | namespace DaveRandom\LibLifxLan\Messages\Light\Responses; |
4 | 4 |