| @@ -71,6 +71,10 @@ | ||
| 71 | 71 | } | 
| 72 | 72 | } | 
| 73 | 73 | |
| 74 | + /** | |
| 75 | + * @param string $target | |
| 76 | + * @param boolean $no_convert | |
| 77 | + */ | |
| 74 | 78 | public function execute($target, $no_convert) | 
| 75 | 79 |      { | 
| 76 | 80 | $this->fetch($target); | 
| @@ -47,6 +47,9 @@ discard block | ||
| 47 | 47 | $this->loader = $loader; | 
| 48 | 48 | } | 
| 49 | 49 | |
| 50 | + /** | |
| 51 | + * @param string $path | |
| 52 | + */ | |
| 50 | 53 | public function load($path) | 
| 51 | 54 |      { | 
| 52 | 55 |          if (false === is_file($path)) { | 
| @@ -68,6 +71,9 @@ discard block | ||
| 68 | 71 | return $this->loader->load($package); | 
| 69 | 72 | } | 
| 70 | 73 | |
| 74 | + /** | |
| 75 | + * @param string $cont | |
| 76 | + */ | |
| 71 | 77 | public function getExtName($cont) | 
| 72 | 78 |      { | 
| 73 | 79 | $ret = null; | 
| @@ -57,6 +57,7 @@ | ||
| 57 | 57 | |
| 58 | 58 | /** | 
| 59 | 59 | * @param string $src | 
| 60 | + * @param string $dest | |
| 60 | 61 | */ | 
| 61 | 62 | private function copySrcDir($src, $dest) | 
| 62 | 63 |      { | 
| @@ -72,6 +72,9 @@ | ||
| 72 | 72 | $this->noConvert = $noConvert; | 
| 73 | 73 | } | 
| 74 | 74 | |
| 75 | + /** | |
| 76 | + * @param string $path | |
| 77 | + */ | |
| 75 | 78 | protected function readPackage($path) | 
| 76 | 79 |      { | 
| 77 | 80 | $jsonLoader = new Package\Util\JSON\Loader(new Package\Util\Loader()); | 
| @@ -93,6 +93,10 @@ | ||
| 93 | 93 | unset($package, $downloader); | 
| 94 | 94 | } | 
| 95 | 95 | |
| 96 | + /** | |
| 97 | + * @param string $target | |
| 98 | + * @param boolean $no_convert | |
| 99 | + */ | |
| 96 | 100 | public function execute($target, $no_convert) | 
| 97 | 101 |      { | 
| 98 | 102 | $this->fetch($target); | 
| @@ -306,6 +306,9 @@ discard block | ||
| 306 | 306 | return [trim($version_define), $version]; | 
| 307 | 307 | } | 
| 308 | 308 | |
| 309 | + /** | |
| 310 | + * @param string $path | |
| 311 | + */ | |
| 309 | 312 | protected function extConfigIsIn($path) | 
| 310 | 313 |      { | 
| 311 | 314 |          if (defined('PHP_WINDOWS_VERSION_MAJOR') !== false) { | 
| @@ -317,6 +320,9 @@ discard block | ||
| 317 | 320 | } | 
| 318 | 321 | } | 
| 319 | 322 | |
| 323 | + /** | |
| 324 | + * @param string $path | |
| 325 | + */ | |
| 320 | 326 | protected function locateSourceDirByExtConfig($path) | 
| 321 | 327 |      { | 
| 322 | 328 | $it = new \RecursiveIteratorIterator( | 
| @@ -52,7 +52,7 @@ | ||
| 52 | 52 | /** | 
| 53 | 53 | * @param string $path | 
| 54 | 54 | * | 
| 55 | - * @return Pickle\Base\Interfaces\Package | |
| 55 | + * @return \Composer\Package\PackageInterface | |
| 56 | 56 | */ | 
| 57 | 57 | public function load($path) | 
| 58 | 58 |      { | 
| @@ -143,6 +143,9 @@ | ||
| 143 | 143 | } | 
| 144 | 144 | } | 
| 145 | 145 | |
| 146 | + /** | |
| 147 | + * @param string $key | |
| 148 | + */ | |
| 146 | 149 | protected function isValid($config, $key, $type = 'any') | 
| 147 | 150 |      { | 
| 148 | 151 |          switch ($type) { | 
| @@ -50,7 +50,6 @@ | ||
| 50 | 50 | |
| 51 | 51 | /** | 
| 52 | 52 | * @param string $pickleSection | 
| 53 | - * @param array $dsos | |
| 54 | 53 | * | 
| 55 | 54 | * @return string | 
| 56 | 55 | */ |