| Total Complexity | 4 |
| Total Lines | 28 |
| Duplicated Lines | 0 % |
| Coverage | 80% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php declare(strict_types=1); |
||
| 27 | final class TmpfileStream extends Stream |
||
| 28 | { |
||
| 29 | /** |
||
| 30 | * @throws RuntimeException |
||
| 31 | */ |
||
| 32 | 14 | public function __construct() |
|
| 33 | { |
||
| 34 | 14 | parent::__construct(self::createFile()); |
|
| 35 | } |
||
| 36 | |||
| 37 | /** |
||
| 38 | * @return resource |
||
| 39 | * |
||
| 40 | * @throws RuntimeException |
||
| 41 | */ |
||
| 42 | 14 | private static function createFile() |
|
| 55 | } |
||
| 56 | } |
||
| 57 |