Completed
Push — master ( 9b1a28...1180e8 )
by Greg
01:29
created
src/Cli/HubphCommands.php 1 patch
Doc Comments   +12 added lines, -6 removed lines patch added patch discarded remove patch
@@ -193,6 +193,9 @@  discard block
 block discarded – undo
193 193
         return $this->getProjectWithOrfFromUrl($remote);
194 194
     }
195 195
 
196
+    /**
197
+     * @param string $remote
198
+     */
196 199
     protected function getProjectWithOrfFromUrl($remote)
197 200
     {
198 201
         $remote = preg_replace('#^git@[^:]*:#', '', $remote);
@@ -250,7 +253,7 @@  discard block
 block discarded – undo
250 253
      *   _links: Links
251 254
      * @default-fields number,user,title
252 255
      * @default-string-field number
253
-     * @return Consolidation\OutputFormatters\StructuredData\RowsOfFields
256
+     * @return RowsOfFields
254 257
     */
255 258
     public function prFind($projectWithOrg = '', $options = ['as' => 'default', 'format' => 'yaml', 'q' => ''])
256 259
     {
@@ -310,7 +313,7 @@  discard block
 block discarded – undo
310 313
      * @default-fields full_name,language,default_branch
311 314
      * @default-string-field full_name
312 315
      *
313
-     * @return Consolidation\OutputFormatters\StructuredData\RowsOfFields
316
+     * @return RowsOfFields
314 317
      */
315 318
     public function orgRepos($org, $options = ['as' => 'default', 'format' => 'table'])
316 319
     {
@@ -361,7 +364,7 @@  discard block
 block discarded – undo
361 364
      *   license: License
362 365
      *   permissions: Permissions
363 366
      *
364
-     * @return Consolidation\OutputFormatters\StructuredData\PropertyList
367
+     * @return PropertyList
365 368
      */
366 369
     public function repoInfo($projectWithOrg = '', $options = ['as' => 'default', 'format' => 'table'])
367 370
     {
@@ -455,7 +458,7 @@  discard block
 block discarded – undo
455 458
      *   head: Head
456 459
      *   base: Base
457 460
      *   _links: Links
458
-     * @return Consolidation\OutputFormatters\StructuredData\PropertyList
461
+     * @return PropertyList
459 462
      */
460 463
     public function prShow($projectWithOrg = '', $number = '', $options = ['as' => 'default', 'format' => 'table'])
461 464
     {
@@ -492,7 +495,7 @@  discard block
 block discarded – undo
492 495
      *   updated_at: Updated
493 496
      * @default-fields id,creator,state,description
494 497
      * @default-string-field description
495
-     * @return Consolidation\OutputFormatters\StructuredData\RowsOfFields
498
+     * @return RowsOfFields
496 499
      */
497 500
     public function prStatuses($projectWithOrg = '', $number = '', $options = ['as' => 'default', 'format' => 'yaml'])
498 501
     {
@@ -550,7 +553,7 @@  discard block
 block discarded – undo
550 553
      *   _links: Links
551 554
      * @default-fields number,user,title
552 555
      * @default-string-field number
553
-     * @return Consolidation\OutputFormatters\StructuredData\RowsOfFields
556
+     * @return RowsOfFields
554 557
      */
555 558
     public function prList($projectWithOrg = '', $options = ['state' => 'open', 'as' => 'default', 'format' => 'table'])
556 559
     {
@@ -601,6 +604,9 @@  discard block
 block discarded – undo
601 604
         );
602 605
     }
603 606
 
607
+    /**
608
+     * @param string $field
609
+     */
604 610
     protected function keyById($data, $field)
605 611
     {
606 612
         return
Please login to merge, or discard this patch.