Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
theimerj authored and github-actions[bot] committed Apr 5, 2024
1 parent 00507cd commit a8c2648
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
14 changes: 7 additions & 7 deletions src/Madnest/Madzipper/Madzipper.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
*/
Expand Down Expand Up @@ -514,7 +514,7 @@ private function getCurrentFolderWithTrailingSlash()
/**
* @param $pathToZip
*
* @throws \Exception
* @throws Exception
*
* @return bool
*/
Expand Down
2 changes: 1 addition & 1 deletion src/Madnest/Madzipper/Repositories/ZipRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class ZipRepository implements RepositoryInterface
* @param bool $create
* @param ZipArchive $archive
*
* @throws \Exception
* @throws Exception
*
* @return ZipRepository
*/
Expand Down
4 changes: 2 additions & 2 deletions tests/MadzipperTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@
class MadzipperTest extends TestCase
{
/**
* @var \Madnest\Madzipper\Madzipper
* @var Madzipper
*/
public $archive;

/**
* @var \Mockery\Mock
* @var Mockery\Mock
*/
public $file;

Expand Down
2 changes: 1 addition & 1 deletion tests/Repositories/ZipRepositoryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class ZipRepositoryTest extends TestCase
public $zip;

/**
* @var \Mockery\Mock
* @var Mockery\Mock
*/
public $mock;

Expand Down

0 comments on commit a8c2648

Please sign in to comment.