Completed
Push — master ( ba407f...6dbf2d )
by Chris
02:29
created
src/DataTypes/Service.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
         // Protocol spec states this is a uint32 rather than a uint16, so allow any uint32 value at the protocol level
34 34
         if ($port < UINT32_MIN || $port > UINT32_MAX) {
35 35
             throw new InvalidValueException(
36
-                "Port {$port} outside allowable range of " . UINT32_MIN . " - " . UINT32_MAX
36
+                "port {$port} outside allowable range of " . UINT32_MIN . " - " . UINT32_MAX
37 37
             );
38 38
         }
39 39
 
Please login to merge, or discard this patch.
src/DataTypes/Light/Effect.php 1 patch
Upper-Lower-Casing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
     {
41 41
         if ($period < UINT32_MIN || $period > UINT32_MAX) {
42 42
             throw new InvalidValueException(
43
-                "Period {$period} outside allowable range of " . UINT32_MIN . " - " . UINT32_MAX
43
+                "period {$period} outside allowable range of " . UINT32_MIN . " - " . UINT32_MAX
44 44
             );
45 45
         }
46 46
 
@@ -72,7 +72,7 @@  discard block
 block discarded – undo
72 72
     private function setWaveform(int $waveform): void
73 73
     {
74 74
         if ($waveform < 0 || $waveform > 255) {
75
-            throw new InvalidValueException("Waveform {$waveform} outside allowable range of 0 - 255");
75
+            throw new InvalidValueException("waveform {$waveform} outside allowable range of 0 - 255");
76 76
         }
77 77
 
78 78
         $this->waveform = $waveform;
Please login to merge, or discard this patch.