File tree Expand file tree Collapse file tree 3 files changed +9
-10
lines changed
Expand file tree Collapse file tree 3 files changed +9
-10
lines changed Original file line number Diff line number Diff line change 2222 "minimum-stability" : " stable" ,
2323 "require" : {
2424 "php" : " ^8.1" ,
25- "ext-json" : " *" ,
26- "php-sap/datetime" : " ^1.5"
25+ "ext-json" : " *"
2726 },
2827 "autoload" : {
2928 "psr-4" : {
Original file line number Diff line number Diff line change 44
55namespace phpsap \interfaces \Api ;
66
7- use phpsap \ DateTime \ SapDateInterval ;
8- use phpsap \ DateTime \ SapDateTime ;
7+ use DateInterval ;
8+ use DateTime ;
99use phpsap \interfaces \exceptions \IInvalidArgumentException ;
1010use phpsap \interfaces \Util \IJsonSerializable ;
1111
@@ -107,8 +107,8 @@ public function getName(): string;
107107 /**
108108 * Cast a value according to this class.
109109 * @param float|bool|int|string $value The output to typecast.
110- * @return null|bool|int|float|string|SapDateTime|SapDateInterval
110+ * @return null|bool|int|float|string|DateTime|DateInterval
111111 * @throws IInvalidArgumentException
112112 */
113- public function cast (null |bool |int |float |string $ value ): null |bool |int |float |string |SapDateTime | SapDateInterval ;
113+ public function cast (null |bool |int |float |string $ value ): null |bool |int |float |string |DateTime | DateInterval ;
114114}
Original file line number Diff line number Diff line change 44
55namespace phpsap \interfaces \Api ;
66
7- use phpsap \ DateTime \ SapDateInterval ;
8- use phpsap \ DateTime \ SapDateTime ;
7+ use DateInterval ;
8+ use DateTime ;
99use phpsap \interfaces \exceptions \IInvalidArgumentException ;
1010use phpsap \interfaces \Util \IJsonSerializable ;
1111
@@ -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 null|bool|int|float|string|SapDateTime|SapDateInterval
145+ * @return null|bool|int|float|string|DateTime|DateInterval
146146 * @throws IInvalidArgumentException
147147 */
148- public function cast (null |bool |int |float |string $ value ): null |bool |int |float |string |SapDateTime | SapDateInterval ;
148+ public function cast (null |bool |int |float |string $ value ): null |bool |int |float |string |DateTime | DateInterval ;
149149}
You can’t perform that action at this time.
0 commit comments