@@ -185,6 +185,9 @@ discard block |
||
185 | 185 | return $this->getProjectWithOrfFromUrl($remote); |
186 | 186 | } |
187 | 187 | |
188 | + /** |
|
189 | + * @param string $remote |
|
190 | + */ |
|
188 | 191 | protected function getProjectWithOrfFromUrl($remote) |
189 | 192 | { |
190 | 193 | $remote = preg_replace('#^git@[^:]*:#', '', $remote); |
@@ -242,7 +245,7 @@ discard block |
||
242 | 245 | * _links: Links |
243 | 246 | * @default-fields number,user,title |
244 | 247 | * @default-string-field number |
245 | - * @return Consolidation\OutputFormatters\StructuredData\RowsOfFields |
|
248 | + * @return RowsOfFields |
|
246 | 249 | */ |
247 | 250 | public function prFind($projectWithOrg = '', $options = ['as' => 'default', 'format' => 'yaml', 'q' => '']) |
248 | 251 | { |
@@ -299,7 +302,7 @@ discard block |
||
299 | 302 | * head: Head |
300 | 303 | * base: Base |
301 | 304 | * _links: Links |
302 | - * @return Consolidation\OutputFormatters\StructuredData\PropertyList |
|
305 | + * @return PropertyList |
|
303 | 306 | */ |
304 | 307 | public function prShow($projectWithOrg = '', $number = '', $options = ['as' => 'default', 'format' => 'table']) |
305 | 308 | { |
@@ -359,7 +362,7 @@ discard block |
||
359 | 362 | * _links: Links |
360 | 363 | * @default-fields number,user,title |
361 | 364 | * @default-string-field number |
362 | - * @return Consolidation\OutputFormatters\StructuredData\RowsOfFields |
|
365 | + * @return RowsOfFields |
|
363 | 366 | */ |
364 | 367 | public function prList($projectWithOrg = '', $options = ['state' => 'open', 'as' => 'default', 'format' => 'table']) |
365 | 368 | { |
@@ -407,6 +410,9 @@ discard block |
||
407 | 410 | ); |
408 | 411 | } |
409 | 412 | |
413 | + /** |
|
414 | + * @param string $field |
|
415 | + */ |
|
410 | 416 | protected function keyById($data, $field) |
411 | 417 | { |
412 | 418 | return |