Completed
Pull Request — develop (#15)
by Ben
02:27
created
src/GithubAdapter.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -156,7 +156,7 @@
 block discarded – undo
156 156
      *
157 157
      * @param string $path
158 158
      *
159
-     * @return array|bool|null
159
+     * @return boolean
160 160
      */
161 161
     public function has($path)
162 162
     {
Please login to merge, or discard this patch.
src/Api.php 1 patch
Doc Comments   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -80,8 +80,8 @@  discard block
 block discarded – undo
80 80
     }
81 81
 
82 82
     /**
83
-     * @param $name
84
-     * @param $api
83
+     * @param string $name
84
+     * @param Repo $api
85 85
      * @return ApiInterface
86 86
      */
87 87
     private function getApiFrom($name, $api)
@@ -163,7 +163,7 @@  discard block
 block discarded – undo
163 163
     }
164 164
 
165 165
     /**
166
-     * @param $path
166
+     * @param string $path
167 167
      *
168 168
      * @return null|string
169 169
      * @throws \Github\Exception\InvalidArgumentException
@@ -399,7 +399,7 @@  discard block
 block discarded – undo
399 399
     }
400 400
 
401 401
     /**
402
-     * @param $path
402
+     * @param string $path
403 403
      *
404 404
      * @return array
405 405
      *
@@ -507,7 +507,7 @@  discard block
 block discarded – undo
507 507
     /**
508 508
      * @param $subject
509 509
      * @param $key
510
-     * @return mixed
510
+     * @return boolean
511 511
      */
512 512
     private function hasKey(&$subject, $key)
513 513
     {
@@ -557,7 +557,7 @@  discard block
 block discarded – undo
557 557
     }
558 558
 
559 559
     /**
560
-     * @param $path
560
+     * @param string $path
561 561
      * @return array
562 562
      * @throws \League\Flysystem\NotSupportedException
563 563
      * @throws \Github\Exception\RuntimeException
@@ -629,7 +629,7 @@  discard block
 block discarded – undo
629 629
     }
630 630
 
631 631
     /**
632
-     * @param $path
632
+     * @param string $path
633 633
      * @param $function
634 634
      * @return array
635 635
      */
Please login to merge, or discard this patch.