diff --git a/src/Madnest/Madzipper/Madzipper.php b/src/Madnest/Madzipper/Madzipper.php index 705d375..d13807d 100644 --- a/src/Madnest/Madzipper/Madzipper.php +++ b/src/Madnest/Madzipper/Madzipper.php @@ -77,7 +77,7 @@ public function __destruct() * @param RepositoryInterface|string $type The type of the archive, defaults to zip, possible are zip, phar * * @throws \RuntimeException - * @throws \Exception + * @throws Exception * @throws \InvalidArgumentException * * @return $this Madzipper instance @@ -114,7 +114,7 @@ public function make($pathToFile, $type = 'zip'): self * Create a new zip archive or open an existing one. * * @param string $pathToFile - * @throws \Exception + * @throws Exception * @return self */ public function zip(string $pathToFile): self @@ -128,7 +128,7 @@ public function zip(string $pathToFile): self * Create a new phar file or open one. * * @param string $pathToFile - * @throws \Exception + * @throws Exception * @return self */ public function phar(string $pathToFile): self @@ -142,7 +142,7 @@ public function phar(string $pathToFile): self * Create a new rar file or open one. * * @param string $pathToFile - * @throws \Exception + * @throws Exception * @return self */ public function rar(string $pathToFile): self @@ -160,7 +160,7 @@ public function rar(string $pathToFile): self * @param $path string The path to extract to * @param array $files An array of files * @param int $methodFlags The Method the files should be treated - * @throws \Exception + * @throws Exception * @return void */ public function extractTo($path, array $files = [], $methodFlags = self::BLACKLIST): void @@ -224,7 +224,7 @@ public function extractMatchingRegex($extractToPath, $regex) * * @param $filePath string The full path (including all folders) of the file in the zip * - * @throws \Exception + * @throws Exception * * @return mixed returns the content or throws an exception */ @@ -514,7 +514,7 @@ private function getCurrentFolderWithTrailingSlash() /** * @param $pathToZip * - * @throws \Exception + * @throws Exception * * @return bool */ diff --git a/src/Madnest/Madzipper/Repositories/ZipRepository.php b/src/Madnest/Madzipper/Repositories/ZipRepository.php index fe15d02..0665dc3 100644 --- a/src/Madnest/Madzipper/Repositories/ZipRepository.php +++ b/src/Madnest/Madzipper/Repositories/ZipRepository.php @@ -18,7 +18,7 @@ class ZipRepository implements RepositoryInterface * @param bool $create * @param ZipArchive $archive * - * @throws \Exception + * @throws Exception * * @return ZipRepository */ diff --git a/tests/MadzipperTest.php b/tests/MadzipperTest.php index 62cf4a7..f46fafc 100644 --- a/tests/MadzipperTest.php +++ b/tests/MadzipperTest.php @@ -12,12 +12,12 @@ class MadzipperTest extends TestCase { /** - * @var \Madnest\Madzipper\Madzipper + * @var Madzipper */ public $archive; /** - * @var \Mockery\Mock + * @var Mockery\Mock */ public $file; diff --git a/tests/Repositories/ZipRepositoryTest.php b/tests/Repositories/ZipRepositoryTest.php index a16084e..7fb576a 100644 --- a/tests/Repositories/ZipRepositoryTest.php +++ b/tests/Repositories/ZipRepositoryTest.php @@ -16,7 +16,7 @@ class ZipRepositoryTest extends TestCase public $zip; /** - * @var \Mockery\Mock + * @var Mockery\Mock */ public $mock;