| Conditions | 2 |
| Paths | 2 |
| Total Lines | 9 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 34 | public function findClientId(ServerRequestInterface $request, &$clientCredentials = null): ? ClientId |
||
| 35 | { |
||
| 36 | $parameters = $request->getParsedBody() ?? []; |
||
| 37 | if (array_key_exists('client_id', $parameters)) { |
||
| 38 | return ClientId::create($parameters['client_id']); |
||
| 39 | } |
||
| 40 | |||
| 41 | return null; |
||
| 42 | } |
||
| 43 | |||
| 68 |