| Conditions | 1 |
| Paths | 1 |
| Total Lines | 13 |
| Code Lines | 8 |
| Lines | 13 |
| Ratio | 100 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 14 | View Code Duplication | public function __construct(array $configuration, LoggerInterface $logger = null) |
|
| 15 | { |
||
| 16 | $configuration = array_merge($configuration, [ |
||
| 17 | 'access_type' => 'offline', |
||
| 18 | 'scopes' => [ |
||
| 19 | 'https://www.googleapis.com/auth/youtube', |
||
| 20 | 'https://www.googleapis.com/auth/youtube.readonly', |
||
| 21 | 'https://www.googleapis.com/auth/youtube.upload', |
||
| 22 | ], |
||
| 23 | ]); |
||
| 24 | |||
| 25 | parent::__construct($configuration, $logger); |
||
| 26 | } |
||
| 27 | |||
| 80 |