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 96
96
*
97
97
*/
98
98
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)
102
102
*
103
103
* @return string
104
104
*/
105
- public function jsonSerialize (): mixed
105
+ #[\ReturnTypeWillChange]
106
+ public function jsonSerialize ()
106
107
{
107
-
108
108
$ json = array ();
109
109
110
110
foreach (static ::$ responseMap as $ responseKey => $ responseMapType ) {
@@ -132,4 +132,4 @@ public function __toString() {
132
132
133
133
}
134
134
135
- }
135
+ }
Original file line number Diff line number Diff line change @@ -52,7 +52,8 @@ public function mapValuesFromJson($json)
52
52
*
53
53
* @return string
54
54
*/
55
- public function jsonSerialize (): mixed
55
+ #[\ReturnTypeWillChange]
56
+ public function jsonSerialize ()
56
57
{
57
58
58
59
$ refClass = new \ReflectionClass ($ this );
@@ -75,4 +76,4 @@ public function jsonSerialize(): mixed
75
76
76
77
}
77
78
78
- }
79
+ }
You can’t perform that action at this time.
0 commit comments