File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -106,9 +106,9 @@ public function getName(): string;
106106
107107 /**
108108 * Cast a value according to this class.
109- * @param float|bool|int|string $value The output to typecast.
110- * @return bool|int|float|string|SapDateTime|SapDateInterval
109+ * @param float|bool|int|string $value The output to typecast.
110+ * @return null| bool|int|float|string|SapDateTime|SapDateInterval
111111 * @throws IInvalidArgumentException
112112 */
113- public function cast (bool |int |float |string $ value ): bool |int |float |string |SapDateTime |SapDateInterval ;
113+ public function cast (null | bool |int |float |string $ value ): null | bool |int |float |string |SapDateTime |SapDateInterval ;
114114}
Original file line number Diff line number Diff line change @@ -142,8 +142,8 @@ public function isOptional(): bool;
142142 /**
143143 * Cast a given value according to this class.
144144 * @param float|bool|int|string $value The value to typecast.
145- * @return bool|int|float|string|SapDateTime|SapDateInterval
145+ * @return null| bool|int|float|string|SapDateTime|SapDateInterval
146146 * @throws IInvalidArgumentException
147147 */
148- public function cast (bool |int |float |string $ value ): bool |int |float |string |SapDateTime |SapDateInterval ;
148+ public function cast (null | bool |int |float |string $ value ): null | bool |int |float |string |SapDateTime |SapDateInterval ;
149149}
You can’t perform that action at this time.
0 commit comments