File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -138,6 +138,7 @@ public function matches($value, $strict = true)
138
138
*
139
139
* @return array
140
140
*/
141
+ #[\ReturnTypeWillChange]
141
142
public function jsonSerialize ()
142
143
{
143
144
return $ this ->toArray ();
Original file line number Diff line number Diff line change @@ -160,6 +160,7 @@ public function toArray()
160
160
*
161
161
* @return array
162
162
*/
163
+ #[\ReturnTypeWillChange]
163
164
public function jsonSerialize ()
164
165
{
165
166
return $ this ->toArray ();
@@ -192,6 +193,7 @@ public function __toString()
192
193
* @param mixed $key
193
194
* @return bool
194
195
*/
196
+ #[\ReturnTypeWillChange]
195
197
public function offsetExists ($ key )
196
198
{
197
199
return Arr::has ($ this ->toArray (), $ key );
@@ -216,6 +218,7 @@ public function offsetGet($key)
216
218
*
217
219
* @throws \Tymon\JWTAuth\Exceptions\PayloadException
218
220
*/
221
+ #[\ReturnTypeWillChange]
219
222
public function offsetSet ($ key , $ value )
220
223
{
221
224
throw new PayloadException ('The payload is immutable ' );
@@ -229,6 +232,7 @@ public function offsetSet($key, $value)
229
232
*
230
233
* @throws \Tymon\JWTAuth\Exceptions\PayloadException
231
234
*/
235
+ #[\ReturnTypeWillChange]
232
236
public function offsetUnset ($ key )
233
237
{
234
238
throw new PayloadException ('The payload is immutable ' );
@@ -239,6 +243,7 @@ public function offsetUnset($key)
239
243
*
240
244
* @return int
241
245
*/
246
+ #[\ReturnTypeWillChange]
242
247
public function count ()
243
248
{
244
249
return count ($ this ->toArray ());
You can’t perform that action at this time.
0 commit comments