| Conditions | 2 |
| Paths | 2 |
| Total Lines | 8 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 40 | public function create(AuthorizationRequest $authorizationRequest): ApproveControl |
||
| 41 | { |
||
| 42 | $control = new ApproveControl($this->authorizationServer, $this->session, $authorizationRequest); |
||
| 43 | if ($this->logger) { |
||
| 44 | $control->setLogger($this->logger); |
||
| 45 | } |
||
| 46 | return $control; |
||
| 47 | } |
||
| 48 | } |
||
| 49 |