@@ -53,7 +53,7 @@ |
||
| 53 | 53 | * @param ParserInterface $parser An output parser |
| 54 | 54 | * @param ResourceManager $manager A resource manager |
| 55 | 55 | * @param ProcessBuilderFactoryInterface $inflator A process builder factory for the inflator binary |
| 56 | - * @param ProcessBuilderFactoryInterface|null $deflator A process builder factory for the deflator binary |
|
| 56 | + * @param ProcessBuilderFactoryInterface $deflator A process builder factory for the deflator binary |
|
| 57 | 57 | */ |
| 58 | 58 | public function __construct( |
| 59 | 59 | ParserInterface $parser, |
@@ -345,6 +345,9 @@ |
||
| 345 | 345 | return new \SplFileInfo($to ? : $resource->getResource()); |
| 346 | 346 | } |
| 347 | 347 | |
| 348 | + /** |
|
| 349 | + * @param string $to |
|
| 350 | + */ |
|
| 348 | 351 | protected function doTarExtractMembers($options, ResourceInterface $resource, $members, $to = null, $overwrite = false) |
| 349 | 352 | { |
| 350 | 353 | if (null !== $to && !is_dir($to)) { |
@@ -301,6 +301,7 @@ discard block |
||
| 301 | 301 | |
| 302 | 302 | /** |
| 303 | 303 | * @info is public for PHP 5.3 compatibility, should be private |
| 304 | + * @param string $file |
|
| 304 | 305 | */ |
| 305 | 306 | public function checkReadability(\ZipArchive $zip, $file) |
| 306 | 307 | { |
@@ -314,6 +315,7 @@ discard block |
||
| 314 | 315 | |
| 315 | 316 | /** |
| 316 | 317 | * @info is public for PHP 5.3 compatibility, should be private |
| 318 | + * @param string $file |
|
| 317 | 319 | */ |
| 318 | 320 | public function addFileToZip(\ZipArchive $zip, $file) |
| 319 | 321 | { |
@@ -29,7 +29,7 @@ |
||
| 29 | 29 | /** |
| 30 | 30 | * Maps the corresponding parser to the selected adapter |
| 31 | 31 | * |
| 32 | - * @param $adapterName An adapter name |
|
| 32 | + * @param string $adapterName An adapter name |
|
| 33 | 33 | * |
| 34 | 34 | * @return ParserInterface |
| 35 | 35 | * |
@@ -15,7 +15,6 @@ |
||
| 15 | 15 | use Alchemy\Zippy\Exception\IOException; |
| 16 | 16 | use Alchemy\Zippy\Exception\InvalidArgumentException; |
| 17 | 17 | use Alchemy\Zippy\Resource\ResourceLocator; |
| 18 | -use Alchemy\Zippy\Resource\TargetLocator; |
|
| 19 | 18 | use Symfony\Component\Filesystem\Filesystem; |
| 20 | 19 | use Symfony\Component\Filesystem\Exception\IOException as SfIOException; |
| 21 | 20 | |