| Conditions | 1 |
| Paths | 1 |
| Total Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 0 | ||
| 1 | <?php declare(strict_types=1); |
||
| 16 | public function detailedCommit(): PromiseInterface |
||
| 17 | { |
||
| 18 | return $this->handleCommand(new DetailedCommitCommand( |
||
| 19 | \str_replace('/branches/' . $this->name . '/protection', '', \explode('/repos/', $this->protection_url)[1]), |
||
| 20 | $this->commit->sha() |
||
| 21 | )); |
||
| 22 | } |
||
| 23 | } |
||
| 24 |