@@ -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; |
| 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 | |
@@ -27,10 +27,10 @@ discard block |
||
| 27 | 27 | 'source' => $source, |
| 28 | 28 | ] = \unpack('vsize/vprotocol/Vsource', $data, $offset); |
| 29 | 29 | |
| 30 | - $origin = ($protocol & 0xC000) >> 14; |
|
| 30 | + $origin = ($protocol & 0xC000) >> 14; |
|
| 31 | 31 | $isTagged = (bool)($protocol & 0x2000); |
| 32 | 32 | $isAddressable = (bool)($protocol & 0x1000); |
| 33 | - $protocol = ($protocol & 0x0FFF); |
|
| 33 | + $protocol = ($protocol & 0x0FFF); |
|
| 34 | 34 | |
| 35 | 35 | return new Frame($size, $origin, $isTagged, $isAddressable, $protocol, $source); |
| 36 | 36 | } |
@@ -1,4 +1,4 @@ |
||
| 1 | -<?php declare(strict_types=1); |
|
| 1 | +<?php declare(strict_types = 1); |
|
| 2 | 2 | |
| 3 | 3 | namespace DaveRandom\LibLifxLan\DataTypes\Light; |
| 4 | 4 | |