Completed
Pull Request — master (#34)
by Pádraic
02:08
created
src/Updater.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -414,6 +414,9 @@  discard block
 block discarded – undo
414 414
             . sprintf('%s.phar.temp.pubkey', $this->getLocalPharFileBasename());
415 415
     }
416 416
 
417
+    /**
418
+     * @param string|null $localPharFile
419
+     */
417 420
     protected function setLocalPharFile($localPharFile)
418 421
     {
419 422
         if (!is_null($localPharFile)) {
@@ -458,6 +461,9 @@  discard block
 block discarded – undo
458 461
         $this->tempDirectory = $tempDirectory;
459 462
     }
460 463
 
464
+    /**
465
+     * @param string $phar
466
+     */
461 467
     protected function validatePhar($phar)
462 468
     {
463 469
         $phar = realpath($phar);
Please login to merge, or discard this patch.
src/VersionParser.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -126,6 +126,8 @@  discard block
 block discarded – undo
126 126
      * 
127 127
      * @param  string
128 128
      * @param  string
129
+     * @param string|boolean $version1
130
+     * @param string $version2
129 131
      * @return bool
130 132
      */
131 133
     public static function equals($version1, $version2)
@@ -202,6 +204,9 @@  discard block
 block discarded – undo
202 204
         return false;
203 205
     }
204 206
 
207
+    /**
208
+     * @return string
209
+     */
205 210
     private static function stripGitHash($version)
206 211
     {
207 212
         if (preg_match(self::GIT_DATA_MATCH, $version, $matches)) {
Please login to merge, or discard this patch.