File tree Expand file tree Collapse file tree 3 files changed +7
-6
lines changed Expand file tree Collapse file tree 3 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 9696 *
9797 */
9898
99- echo $ whoAmI ->firstname . ' ' . $ whoAmI ->lastname ;
99+ echo $ whoAmI ->firstname . ' ' . $ whoAmI ->lastname ;
Original file line number Diff line number Diff line change @@ -102,9 +102,9 @@ public function mapValuesFromJson($json)
102102 *
103103 * @return string
104104 */
105- public function jsonSerialize (): mixed
105+ #[\ReturnTypeWillChange]
106+ public function jsonSerialize ()
106107 {
107-
108108 $ json = array ();
109109
110110 foreach (static ::$ responseMap as $ responseKey => $ responseMapType ) {
@@ -132,4 +132,4 @@ public function __toString() {
132132
133133 }
134134
135- }
135+ }
Original file line number Diff line number Diff line change @@ -52,7 +52,8 @@ public function mapValuesFromJson($json)
5252 *
5353 * @return string
5454 */
55- public function jsonSerialize (): mixed
55+ #[\ReturnTypeWillChange]
56+ public function jsonSerialize ()
5657 {
5758
5859 $ refClass = new \ReflectionClass ($ this );
@@ -75,4 +76,4 @@ public function jsonSerialize(): mixed
7576
7677 }
7778
78- }
79+ }
You can’t perform that action at this time.
0 commit comments