@@ -12,4 +12,4 @@ |
||
| 12 | 12 | |
| 13 | 13 | // --- EXAMPLE START --- |
| 14 | 14 | $data = 15; |
| 15 | -var_dump(IsInRange::check($data, 10,20)); |
|
| 15 | +var_dump(IsInRange::check($data, 10, 20)); |
|
@@ -12,4 +12,4 @@ |
||
| 12 | 12 | |
| 13 | 13 | // --- EXAMPLE START --- |
| 14 | 14 | $data = 15; |
| 15 | -var_dump(IsInRange::using(10,20)->inspect($data)); |
|
| 16 | 15 | \ No newline at end of file |
| 16 | +var_dump(IsInRange::using(10, 20)->inspect($data)); |
|
| 17 | 17 | \ No newline at end of file |
@@ -90,7 +90,7 @@ |
||
| 90 | 90 | public function inspect($refProp) |
| 91 | 91 | { |
| 92 | 92 | // robustness! |
| 93 | - if (! $refProp instanceof ReflectionProperty) { |
|
| 93 | + if (!$refProp instanceof ReflectionProperty) { |
|
| 94 | 94 | throw new TypeError('$refProp is not a ReflectionProperty, is a ' . get_printable_type($refProp)); |
| 95 | 95 | } |
| 96 | 96 | return static::check($refProp); |