@@ -237,7 +237,7 @@ discard block |
||
| 237 | 237 | * _links: Links |
| 238 | 238 | * @default-fields number,user,title |
| 239 | 239 | * @default-string-field number |
| 240 | - * @return Consolidation\OutputFormatters\StructuredData\RowsOfFields |
|
| 240 | + * @return RowsOfFields |
|
| 241 | 241 | */ |
| 242 | 242 | public function prFind($projectWithOrg = '', $options = ['as' => 'default', 'format' => 'yaml', 'q' => '']) |
| 243 | 243 | { |
@@ -294,7 +294,7 @@ discard block |
||
| 294 | 294 | * head: Head |
| 295 | 295 | * base: Base |
| 296 | 296 | * _links: Links |
| 297 | - * @return Consolidation\OutputFormatters\StructuredData\PropertyList |
|
| 297 | + * @return PropertyList |
|
| 298 | 298 | */ |
| 299 | 299 | public function prShow($projectWithOrg = '', $number = '', $options = ['as' => 'default', 'format' => 'table']) |
| 300 | 300 | { |
@@ -354,7 +354,7 @@ discard block |
||
| 354 | 354 | * _links: Links |
| 355 | 355 | * @default-fields number,user,title |
| 356 | 356 | * @default-string-field number |
| 357 | - * @return Consolidation\OutputFormatters\StructuredData\RowsOfFields |
|
| 357 | + * @return RowsOfFields |
|
| 358 | 358 | */ |
| 359 | 359 | public function prList($projectWithOrg = '', $options = ['state' => 'open', 'as' => 'default', 'format' => 'table']) |
| 360 | 360 | { |
@@ -402,6 +402,9 @@ discard block |
||
| 402 | 402 | ); |
| 403 | 403 | } |
| 404 | 404 | |
| 405 | + /** |
|
| 406 | + * @param string $field |
|
| 407 | + */ |
|
| 405 | 408 | protected function keyById($data, $field) |
| 406 | 409 | { |
| 407 | 410 | return |
@@ -15,7 +15,6 @@ |
||
| 15 | 15 | use Consolidation\AnnotatedCommand\CommandError; |
| 16 | 16 | use Hubph\HubphAPI; |
| 17 | 17 | use Hubph\VersionIdentifiers; |
| 18 | -use Hubph\PullRequests; |
|
| 19 | 18 | |
| 20 | 19 | class HubphCommands extends \Robo\Tasks implements ConfigAwareInterface, LoggerAwareInterface |
| 21 | 20 | { |