| Conditions | 1 |
| Paths | 1 |
| Total Lines | 5 |
| Code Lines | 3 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 4 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 33 | 1 | public function __construct(string $authCorpId, string $permanentCode, OpenWork $component, array $prepends = []) |
|
| 34 | { |
||
| 35 | 1 | parent::__construct($component->getConfig(), $prepends + [ |
|
| 36 | 1 | 'access_token' => function ($app) use ($authCorpId, $permanentCode, $component) { |
|
| 37 | 1 | return new AccessToken($app, $authCorpId, $permanentCode, $component); |
|
| 38 | 1 | }, |
|
| 42 |