| 1 | <?php declare(strict_types=1); |
||
| 7 | abstract class EmptyCommit implements CommitInterface, EmptyResourceInterface |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * @return string |
||
| 11 | */ |
||
| 12 | public function url(): string |
||
| 16 | |||
| 17 | 2 | /** |
|
| 18 | * @return string |
||
| 19 | */ |
||
| 20 | public function sha(): string |
||
| 24 | |||
| 25 | 2 | /** |
|
| 26 | * @return string |
||
| 27 | */ |
||
| 28 | public function htmlUrl(): string |
||
| 32 | |||
| 33 | 2 | /** |
|
| 34 | * @return Git\Commit |
||
| 35 | */ |
||
| 36 | public function commit(): Git\Commit |
||
| 40 | |||
| 41 | 2 | /** |
|
| 42 | * @return User |
||
| 43 | */ |
||
| 44 | public function author(): User |
||
| 48 | |||
| 49 | 2 | /** |
|
| 50 | * @return User |
||
| 51 | */ |
||
| 52 | public function comitter(): User |
||
| 56 | |||
| 57 | 2 | /** |
|
| 58 | * @return Tree |
||
| 59 | */ |
||
| 60 | public function parents(): Tree |
||
| 64 | |||
| 65 | 2 | /** |
|
| 66 | * @return Repository\Commit\File |
||
| 67 | */ |
||
| 68 | public function files(): Repository\Commit\File |
||
| 72 | } |
||
| 73 |