| @@ 44-56 (lines=13) @@ | ||
| 41 | * @param string $sha |
|
| 42 | * @param string $branch |
|
| 43 | */ |
|
| 44 | public function __construct( |
|
| 45 | string $repository, |
|
| 46 | string $commitMessage, |
|
| 47 | string $url, |
|
| 48 | string $sha, |
|
| 49 | string $branch = '' |
|
| 50 | ) { |
|
| 51 | $this->repository = $repository; |
|
| 52 | $this->commitMessage = $commitMessage; |
|
| 53 | $this->url = $url; |
|
| 54 | $this->sha = $sha; |
|
| 55 | $this->branch = $branch; |
|
| 56 | } |
|
| 57 | ||
| 58 | /** |
|
| 59 | * @return string |
|
| @@ 51-65 (lines=15) @@ | ||
| 48 | * @param string $branch |
|
| 49 | * @param ReadableStreamInterface $stream |
|
| 50 | */ |
|
| 51 | public function __construct( |
|
| 52 | string $repository, |
|
| 53 | string $commitMessage, |
|
| 54 | string $url, |
|
| 55 | string $sha, |
|
| 56 | string $branch, |
|
| 57 | ReadableStreamInterface $stream |
|
| 58 | ) { |
|
| 59 | $this->repository = $repository; |
|
| 60 | $this->commitMessage = $commitMessage; |
|
| 61 | $this->url = $url; |
|
| 62 | $this->sha = $sha; |
|
| 63 | $this->branch = $branch; |
|
| 64 | $this->stream = $stream; |
|
| 65 | } |
|
| 66 | ||
| 67 | /** |
|
| 68 | * @return string |
|