@@ -580,7 +580,7 @@ |
||
| 580 | 580 | */ |
| 581 | 581 | private function getFilteredClaims(): array |
| 582 | 582 | { |
| 583 | - return array_filter($this->metadata, static function ($value, string $key) { |
|
| 583 | + return array_filter($this->metadata, static function($value, string $key) { |
|
| 584 | 584 | return array_key_exists($key, self::$requiredKeys) |
| 585 | 585 | || $value !== (self::$defaults[$key] ?? null); |
| 586 | 586 | }, ARRAY_FILTER_USE_BOTH); |
@@ -181,7 +181,7 @@ |
||
| 181 | 181 | */ |
| 182 | 182 | private function getFilteredClaims(): array |
| 183 | 183 | { |
| 184 | - return array_filter($this->metadata, static function ($value, string $key) { |
|
| 184 | + return array_filter($this->metadata, static function($value, string $key) { |
|
| 185 | 185 | return array_key_exists($key, self::$requiredKeys) |
| 186 | 186 | || $value !== (self::$defaults[$key] ?? null); |
| 187 | 187 | }, ARRAY_FILTER_USE_BOTH); |