| Total Complexity | 1 |
| Total Lines | 20 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 27 | abstract class RepositoryAware extends Runner |
||
| 28 | { |
||
| 29 | /** |
||
| 30 | * Git repository. |
||
| 31 | * |
||
| 32 | * @var \SebastianFeldmann\Git\Repository |
||
| 33 | */ |
||
| 34 | protected $repository; |
||
| 35 | |||
| 36 | /** |
||
| 37 | * HookHandler constructor. |
||
| 38 | * |
||
| 39 | * @param \CaptainHook\App\Console\IO $io |
||
| 40 | * @param \CaptainHook\App\Config $config |
||
| 41 | * @param \SebastianFeldmann\Git\Repository $repository |
||
| 42 | */ |
||
| 43 | 94 | public function __construct(IO $io, Config $config, Repository $repository) |
|
| 49 |