@@ -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; |
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; |
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; |
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; |
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; |
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; |
4 | 4 |
@@ -163,7 +163,7 @@ |
||
163 | 163 | $result = ($dateTime->format('U') * 1000000000) + ($dateTime->format('u') * 1000); |
164 | 164 | |
165 | 165 | if ($result < 0) { |
166 | - throw new InvalidMessageException("Timestamp {$dateTime->format('Y-m-d H:i:s.u')} is negative"); |
|
166 | + throw new InvalidMessageException("timestamp {$dateTime->format('Y-m-d H:i:s.u')} is negative"); |
|
167 | 167 | } |
168 | 168 | |
169 | 169 | return $result; |
@@ -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 |