| @@ -107,7 +107,7 @@ discard block | ||
| 107 | 107 | |
| 108 | 108 | private function requiredData($key, bool $isB64 = false): callable | 
| 109 | 109 |      { | 
| 110 | -        return function ($json) use ($key, $isB64) { | |
| 110 | +        return function($json) use ($key, $isB64) { | |
| 111 | 111 |              if (!array_key_exists($key, $json)) { | 
| 112 | 112 |                  throw new \InvalidArgumentException(\Safe\sprintf('The key "%s" is missing', $key)); | 
| 113 | 113 | } | 
| @@ -118,7 +118,7 @@ discard block | ||
| 118 | 118 | |
| 119 | 119 | private function optionalData($key): callable | 
| 120 | 120 |      { | 
| 121 | -        return function ($json) use ($key) { | |
| 121 | +        return function($json) use ($key) { | |
| 122 | 122 |              if (!array_key_exists($key, $json)) { | 
| 123 | 123 | return; | 
| 124 | 124 | } |