@@ -97,32 +97,32 @@ discard block |
||
| 97 | 97 | public static function number(): DefinesTheType |
| 98 | 98 | { |
| 99 | 99 | return Is::decoratedType(FloatValue::class, self::SAME_KEY, [ |
| 100 | - CanBeInteger::class . '::or', |
|
| 100 | + CanBeInteger::class.'::or', |
|
| 101 | 101 | ]); |
| 102 | 102 | } |
| 103 | 103 | |
| 104 | 104 | public static function numberInKey(string $key): DefinesTheType |
| 105 | 105 | { |
| 106 | 106 | return Is::decoratedType(FloatValue::class, self::USE_KEY, [ |
| 107 | - CanBeInteger::class . '::or', |
|
| 107 | + CanBeInteger::class.'::or', |
|
| 108 | 108 | ], $key); |
| 109 | 109 | } |
| 110 | 110 | |
| 111 | 111 | public static function mixed(): DefinesTheType |
| 112 | 112 | { |
| 113 | 113 | return Is::decoratedType(StringValue::class, self::SAME_KEY, [ |
| 114 | - CanBeFloat::class . '::or', |
|
| 115 | - CanBeInteger::class . '::or', |
|
| 116 | - CanBeNull::class . '::or', |
|
| 114 | + CanBeFloat::class.'::or', |
|
| 115 | + CanBeInteger::class.'::or', |
|
| 116 | + CanBeNull::class.'::or', |
|
| 117 | 117 | ]); |
| 118 | 118 | } |
| 119 | 119 | |
| 120 | 120 | public static function mixedInKey(string $key): DefinesTheType |
| 121 | 121 | { |
| 122 | 122 | return Is::decoratedType(StringValue::class, self::USE_KEY, [ |
| 123 | - CanBeFloat::class . '::or', |
|
| 124 | - CanBeInteger::class . '::or', |
|
| 125 | - CanBeNull::class . '::or', |
|
| 123 | + CanBeFloat::class.'::or', |
|
| 124 | + CanBeInteger::class.'::or', |
|
| 125 | + CanBeNull::class.'::or', |
|
| 126 | 126 | ], $key); |
| 127 | 127 | } |
| 128 | 128 | |
@@ -182,7 +182,7 @@ discard block |
||
| 182 | 182 | return Is::decoratedType( |
| 183 | 183 | $this->className, |
| 184 | 184 | $this->constructorName, |
| 185 | - array_merge($this->decorators, [CanBeNull::class . '::or']), |
|
| 185 | + array_merge($this->decorators, [CanBeNull::class.'::or']), |
|
| 186 | 186 | $this->key |
| 187 | 187 | ); |
| 188 | 188 | } |