From 99a122acbcc87f7e29447906c2ff1e820aac2ee2 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 29 Nov 2021 09:48:09 +0000 Subject: [PATCH 1/2] Bump vlucas/phpdotenv from 5.3.1 to 5.4.0 Bumps [vlucas/phpdotenv](https://github.com/vlucas/phpdotenv) from 5.3.1 to 5.4.0. - [Release notes](https://github.com/vlucas/phpdotenv/releases) - [Commits](https://github.com/vlucas/phpdotenv/compare/v5.3.1...v5.4.0) --- updated-dependencies: - dependency-name: vlucas/phpdotenv dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- composer.lock | 219 ++++++++++++++++++++++++-------------------------- 1 file changed, 107 insertions(+), 112 deletions(-) diff --git a/composer.lock b/composer.lock index 9b5523d..641bf4a 100644 --- a/composer.lock +++ b/composer.lock @@ -443,31 +443,26 @@ }, { "name": "graham-campbell/result-type", - "version": "v1.0.1", + "version": "v1.0.4", "source": { "type": "git", "url": "https://github.com/GrahamCampbell/Result-Type.git", - "reference": "7e279d2cd5d7fbb156ce46daada972355cea27bb" + "reference": "0690bde05318336c7221785f2a932467f98b64ca" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/GrahamCampbell/Result-Type/zipball/7e279d2cd5d7fbb156ce46daada972355cea27bb", - "reference": "7e279d2cd5d7fbb156ce46daada972355cea27bb", + "url": "https://api.github.com/repos/GrahamCampbell/Result-Type/zipball/0690bde05318336c7221785f2a932467f98b64ca", + "reference": "0690bde05318336c7221785f2a932467f98b64ca", "shasum": "" }, "require": { - "php": "^7.0|^8.0", - "phpoption/phpoption": "^1.7.3" + "php": "^7.0 || ^8.0", + "phpoption/phpoption": "^1.8" }, "require-dev": { - "phpunit/phpunit": "^6.5|^7.5|^8.5|^9.0" + "phpunit/phpunit": "^6.5.14 || ^7.5.20 || ^8.5.19 || ^9.5.8" }, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.0-dev" - } - }, "autoload": { "psr-4": { "GrahamCampbell\\ResultType\\": "src/" @@ -480,7 +475,8 @@ "authors": [ { "name": "Graham Campbell", - "email": "graham@alt-three.com" + "email": "hello@gjcampbell.co.uk", + "homepage": "https://github.com/GrahamCampbell" } ], "description": "An Implementation Of The Result Type", @@ -493,7 +489,7 @@ ], "support": { "issues": "https://github.com/GrahamCampbell/Result-Type/issues", - "source": "https://github.com/GrahamCampbell/Result-Type/tree/v1.0.1" + "source": "https://github.com/GrahamCampbell/Result-Type/tree/v1.0.4" }, "funding": [ { @@ -505,7 +501,7 @@ "type": "tidelift" } ], - "time": "2020-04-13T13:17:36+00:00" + "time": "2021-11-21T21:41:47+00:00" }, { "name": "guzzlehttp/guzzle", @@ -1660,29 +1656,29 @@ }, { "name": "phpoption/phpoption", - "version": "1.7.5", + "version": "1.8.0", "source": { "type": "git", "url": "https://github.com/schmittjoh/php-option.git", - "reference": "994ecccd8f3283ecf5ac33254543eb0ac946d525" + "reference": "5455cb38aed4523f99977c4a12ef19da4bfe2a28" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/schmittjoh/php-option/zipball/994ecccd8f3283ecf5ac33254543eb0ac946d525", - "reference": "994ecccd8f3283ecf5ac33254543eb0ac946d525", + "url": "https://api.github.com/repos/schmittjoh/php-option/zipball/5455cb38aed4523f99977c4a12ef19da4bfe2a28", + "reference": "5455cb38aed4523f99977c4a12ef19da4bfe2a28", "shasum": "" }, "require": { - "php": "^5.5.9 || ^7.0 || ^8.0" + "php": "^7.0 || ^8.0" }, "require-dev": { "bamarni/composer-bin-plugin": "^1.4.1", - "phpunit/phpunit": "^4.8.35 || ^5.7.27 || ^6.5.6 || ^7.0 || ^8.0 || ^9.0" + "phpunit/phpunit": "^6.5.14 || ^7.0.20 || ^8.5.19 || ^9.5.8" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.7-dev" + "dev-master": "1.8-dev" } }, "autoload": { @@ -1701,7 +1697,7 @@ }, { "name": "Graham Campbell", - "email": "graham@alt-three.com" + "email": "hello@gjcampbell.co.uk" } ], "description": "Option Type for PHP", @@ -1713,7 +1709,7 @@ ], "support": { "issues": "https://github.com/schmittjoh/php-option/issues", - "source": "https://github.com/schmittjoh/php-option/tree/1.7.5" + "source": "https://github.com/schmittjoh/php-option/tree/1.8.0" }, "funding": [ { @@ -1725,7 +1721,7 @@ "type": "tidelift" } ], - "time": "2020-07-20T17:29:33+00:00" + "time": "2021-08-28T21:27:29+00:00" }, { "name": "psr/container", @@ -2383,16 +2379,16 @@ }, { "name": "symfony/console", - "version": "v5.3.6", + "version": "v5.3.7", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "51b71afd6d2dc8f5063199357b9880cea8d8bfe2" + "reference": "8b1008344647462ae6ec57559da166c2bfa5e16a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/51b71afd6d2dc8f5063199357b9880cea8d8bfe2", - "reference": "51b71afd6d2dc8f5063199357b9880cea8d8bfe2", + "url": "https://api.github.com/repos/symfony/console/zipball/8b1008344647462ae6ec57559da166c2bfa5e16a", + "reference": "8b1008344647462ae6ec57559da166c2bfa5e16a", "shasum": "" }, "require": { @@ -2462,7 +2458,7 @@ "terminal" ], "support": { - "source": "https://github.com/symfony/console/tree/v5.3.6" + "source": "https://github.com/symfony/console/tree/v5.3.7" }, "funding": [ { @@ -2478,7 +2474,7 @@ "type": "tidelift" } ], - "time": "2021-07-27T19:10:22+00:00" + "time": "2021-08-25T20:02:16+00:00" }, { "name": "symfony/css-selector", @@ -4294,16 +4290,16 @@ }, { "name": "symfony/string", - "version": "v5.3.3", + "version": "v5.3.7", "source": { "type": "git", "url": "https://github.com/symfony/string.git", - "reference": "bd53358e3eccec6a670b5f33ab680d8dbe1d4ae1" + "reference": "8d224396e28d30f81969f083a58763b8b9ceb0a5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/bd53358e3eccec6a670b5f33ab680d8dbe1d4ae1", - "reference": "bd53358e3eccec6a670b5f33ab680d8dbe1d4ae1", + "url": "https://api.github.com/repos/symfony/string/zipball/8d224396e28d30f81969f083a58763b8b9ceb0a5", + "reference": "8d224396e28d30f81969f083a58763b8b9ceb0a5", "shasum": "" }, "require": { @@ -4357,7 +4353,7 @@ "utf8" ], "support": { - "source": "https://github.com/symfony/string/tree/v5.3.3" + "source": "https://github.com/symfony/string/tree/v5.3.7" }, "funding": [ { @@ -4373,7 +4369,7 @@ "type": "tidelift" } ], - "time": "2021-06-27T11:44:38+00:00" + "time": "2021-08-26T08:00:08+00:00" }, { "name": "symfony/translation", @@ -4691,31 +4687,31 @@ }, { "name": "vlucas/phpdotenv", - "version": "v5.3.0", + "version": "v5.4.0", "source": { "type": "git", "url": "https://github.com/vlucas/phpdotenv.git", - "reference": "b3eac5c7ac896e52deab4a99068e3f4ab12d9e56" + "reference": "d4394d044ed69a8f244f3445bcedf8a0d7fe2403" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/vlucas/phpdotenv/zipball/b3eac5c7ac896e52deab4a99068e3f4ab12d9e56", - "reference": "b3eac5c7ac896e52deab4a99068e3f4ab12d9e56", + "url": "https://api.github.com/repos/vlucas/phpdotenv/zipball/d4394d044ed69a8f244f3445bcedf8a0d7fe2403", + "reference": "d4394d044ed69a8f244f3445bcedf8a0d7fe2403", "shasum": "" }, "require": { "ext-pcre": "*", - "graham-campbell/result-type": "^1.0.1", + "graham-campbell/result-type": "^1.0.2", "php": "^7.1.3 || ^8.0", - "phpoption/phpoption": "^1.7.4", - "symfony/polyfill-ctype": "^1.17", - "symfony/polyfill-mbstring": "^1.17", - "symfony/polyfill-php80": "^1.17" + "phpoption/phpoption": "^1.8", + "symfony/polyfill-ctype": "^1.23", + "symfony/polyfill-mbstring": "^1.23.1", + "symfony/polyfill-php80": "^1.23.1" }, "require-dev": { "bamarni/composer-bin-plugin": "^1.4.1", "ext-filter": "*", - "phpunit/phpunit": "^7.5.20 || ^8.5.14 || ^9.5.1" + "phpunit/phpunit": "^7.5.20 || ^8.5.21 || ^9.5.10" }, "suggest": { "ext-filter": "Required to use the boolean validator." @@ -4723,7 +4719,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "5.3-dev" + "dev-master": "5.4-dev" } }, "autoload": { @@ -4738,13 +4734,11 @@ "authors": [ { "name": "Graham Campbell", - "email": "graham@alt-three.com", - "homepage": "https://gjcampbell.co.uk/" + "email": "hello@gjcampbell.co.uk" }, { "name": "Vance Lucas", - "email": "vance@vancelucas.com", - "homepage": "https://vancelucas.com/" + "email": "vance@vancelucas.com" } ], "description": "Loads environment variables from `.env` to `getenv()`, `$_ENV` and `$_SERVER` automagically.", @@ -4755,7 +4749,7 @@ ], "support": { "issues": "https://github.com/vlucas/phpdotenv/issues", - "source": "https://github.com/vlucas/phpdotenv/tree/v5.3.0" + "source": "https://github.com/vlucas/phpdotenv/tree/v5.4.0" }, "funding": [ { @@ -4767,7 +4761,7 @@ "type": "tidelift" } ], - "time": "2021-01-20T15:23:13+00:00" + "time": "2021-11-10T01:08:39+00:00" }, { "name": "voku/portable-ascii", @@ -5092,16 +5086,16 @@ }, { "name": "filp/whoops", - "version": "2.14.0", + "version": "2.14.3", "source": { "type": "git", "url": "https://github.com/filp/whoops.git", - "reference": "fdf92f03e150ed84d5967a833ae93abffac0315b" + "reference": "89584ce67dd32307f1063cc43846674f4679feda" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/filp/whoops/zipball/fdf92f03e150ed84d5967a833ae93abffac0315b", - "reference": "fdf92f03e150ed84d5967a833ae93abffac0315b", + "url": "https://api.github.com/repos/filp/whoops/zipball/89584ce67dd32307f1063cc43846674f4679feda", + "reference": "89584ce67dd32307f1063cc43846674f4679feda", "shasum": "" }, "require": { @@ -5151,7 +5145,7 @@ ], "support": { "issues": "https://github.com/filp/whoops/issues", - "source": "https://github.com/filp/whoops/tree/2.14.0" + "source": "https://github.com/filp/whoops/tree/2.14.3" }, "funding": [ { @@ -5159,7 +5153,7 @@ "type": "github" } ], - "time": "2021-07-13T12:00:00+00:00" + "time": "2021-09-19T12:00:00+00:00" }, { "name": "hamcrest/hamcrest-php", @@ -5344,16 +5338,16 @@ }, { "name": "nikic/php-parser", - "version": "v4.12.0", + "version": "v4.13.0", "source": { "type": "git", "url": "https://github.com/nikic/PHP-Parser.git", - "reference": "6608f01670c3cc5079e18c1dab1104e002579143" + "reference": "50953a2691a922aa1769461637869a0a2faa3f53" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/6608f01670c3cc5079e18c1dab1104e002579143", - "reference": "6608f01670c3cc5079e18c1dab1104e002579143", + "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/50953a2691a922aa1769461637869a0a2faa3f53", + "reference": "50953a2691a922aa1769461637869a0a2faa3f53", "shasum": "" }, "require": { @@ -5394,39 +5388,38 @@ ], "support": { "issues": "https://github.com/nikic/PHP-Parser/issues", - "source": "https://github.com/nikic/PHP-Parser/tree/v4.12.0" + "source": "https://github.com/nikic/PHP-Parser/tree/v4.13.0" }, - "time": "2021-07-21T10:44:31+00:00" + "time": "2021-09-20T12:20:58+00:00" }, { "name": "nunomaduro/collision", - "version": "v5.8.0", + "version": "v5.10.0", "source": { "type": "git", "url": "https://github.com/nunomaduro/collision.git", - "reference": "0c3c393462eada1233513664e2d22bb9f69ca393" + "reference": "3004cfa49c022183395eabc6d0e5207dfe498d00" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nunomaduro/collision/zipball/0c3c393462eada1233513664e2d22bb9f69ca393", - "reference": "0c3c393462eada1233513664e2d22bb9f69ca393", + "url": "https://api.github.com/repos/nunomaduro/collision/zipball/3004cfa49c022183395eabc6d0e5207dfe498d00", + "reference": "3004cfa49c022183395eabc6d0e5207dfe498d00", "shasum": "" }, "require": { "facade/ignition-contracts": "^1.0", - "filp/whoops": "^2.7.2", + "filp/whoops": "^2.14.3", "php": "^7.3 || ^8.0", "symfony/console": "^5.0" }, "require-dev": { "brianium/paratest": "^6.1", "fideloper/proxy": "^4.4.1", - "friendsofphp/php-cs-fixer": "^3.0", "fruitcake/laravel-cors": "^2.0.3", - "laravel/framework": "^8.0 || ^9.0", + "laravel/framework": "8.x-dev", "nunomaduro/larastan": "^0.6.2", "nunomaduro/mock-final-classes": "^1.0", - "orchestra/testbench": "^6.0 || ^7.0", + "orchestra/testbench": "^6.0", "phpstan/phpstan": "^0.12.64", "phpunit/phpunit": "^9.5.0" }, @@ -5484,7 +5477,7 @@ "type": "patreon" } ], - "time": "2021-08-13T14:23:01+00:00" + "time": "2021-09-20T15:06:32+00:00" }, { "name": "orchestra/testbench", @@ -5640,20 +5633,20 @@ }, { "name": "pestphp/pest", - "version": "v1.15.0", + "version": "v1.19.0", "source": { "type": "git", "url": "https://github.com/pestphp/pest.git", - "reference": "d1a9e0bbe31dcb266690dc4e7517e2cb73d5827a" + "reference": "58cff003d8d478ecb4cbe87bd6380f51efc4ebc7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/pestphp/pest/zipball/d1a9e0bbe31dcb266690dc4e7517e2cb73d5827a", - "reference": "d1a9e0bbe31dcb266690dc4e7517e2cb73d5827a", + "url": "https://api.github.com/repos/pestphp/pest/zipball/58cff003d8d478ecb4cbe87bd6380f51efc4ebc7", + "reference": "58cff003d8d478ecb4cbe87bd6380f51efc4ebc7", "shasum": "" }, "require": { - "nunomaduro/collision": "^5.4.0", + "nunomaduro/collision": "^5.4.0|^6.0", "pestphp/pest-plugin": "^1.0.0", "php": "^7.3 || ^8.0", "phpunit/phpunit": "^9.5.5" @@ -5662,7 +5655,8 @@ "illuminate/console": "^8.47.0", "illuminate/support": "^8.47.0", "laravel/dusk": "^6.15.0", - "pestphp/pest-dev-tools": "dev-master" + "pestphp/pest-dev-tools": "dev-master", + "pestphp/pest-plugin-parallel": "^1.0" }, "bin": [ "bin/pest" @@ -5715,7 +5709,7 @@ ], "support": { "issues": "https://github.com/pestphp/pest/issues", - "source": "https://github.com/pestphp/pest/tree/v1.15.0" + "source": "https://github.com/pestphp/pest/tree/v1.19.0" }, "funding": [ { @@ -5743,7 +5737,7 @@ "type": "patreon" } ], - "time": "2021-08-04T22:02:18+00:00" + "time": "2021-09-20T18:30:58+00:00" }, { "name": "pestphp/pest-plugin", @@ -6039,16 +6033,16 @@ }, { "name": "phpdocumentor/type-resolver", - "version": "1.4.0", + "version": "1.5.0", "source": { "type": "git", "url": "https://github.com/phpDocumentor/TypeResolver.git", - "reference": "6a467b8989322d92aa1c8bf2bebcc6e5c2ba55c0" + "reference": "30f38bffc6f24293dadd1823936372dfa9e86e2f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/6a467b8989322d92aa1c8bf2bebcc6e5c2ba55c0", - "reference": "6a467b8989322d92aa1c8bf2bebcc6e5c2ba55c0", + "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/30f38bffc6f24293dadd1823936372dfa9e86e2f", + "reference": "30f38bffc6f24293dadd1823936372dfa9e86e2f", "shasum": "" }, "require": { @@ -6056,7 +6050,8 @@ "phpdocumentor/reflection-common": "^2.0" }, "require-dev": { - "ext-tokenizer": "*" + "ext-tokenizer": "*", + "psalm/phar": "^4.8" }, "type": "library", "extra": { @@ -6082,39 +6077,39 @@ "description": "A PSR-5 based resolver of Class names, Types and Structural Element Names", "support": { "issues": "https://github.com/phpDocumentor/TypeResolver/issues", - "source": "https://github.com/phpDocumentor/TypeResolver/tree/1.4.0" + "source": "https://github.com/phpDocumentor/TypeResolver/tree/1.5.0" }, - "time": "2020-09-17T18:55:26+00:00" + "time": "2021-09-17T15:28:14+00:00" }, { "name": "phpspec/prophecy", - "version": "1.13.0", + "version": "1.14.0", "source": { "type": "git", "url": "https://github.com/phpspec/prophecy.git", - "reference": "be1996ed8adc35c3fd795488a653f4b518be70ea" + "reference": "d86dfc2e2a3cd366cee475e52c6bb3bbc371aa0e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpspec/prophecy/zipball/be1996ed8adc35c3fd795488a653f4b518be70ea", - "reference": "be1996ed8adc35c3fd795488a653f4b518be70ea", + "url": "https://api.github.com/repos/phpspec/prophecy/zipball/d86dfc2e2a3cd366cee475e52c6bb3bbc371aa0e", + "reference": "d86dfc2e2a3cd366cee475e52c6bb3bbc371aa0e", "shasum": "" }, "require": { "doctrine/instantiator": "^1.2", - "php": "^7.2 || ~8.0, <8.1", + "php": "^7.2 || ~8.0, <8.2", "phpdocumentor/reflection-docblock": "^5.2", "sebastian/comparator": "^3.0 || ^4.0", "sebastian/recursion-context": "^3.0 || ^4.0" }, "require-dev": { - "phpspec/phpspec": "^6.0", + "phpspec/phpspec": "^6.0 || ^7.0", "phpunit/phpunit": "^8.0 || ^9.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.11.x-dev" + "dev-master": "1.x-dev" } }, "autoload": { @@ -6149,29 +6144,29 @@ ], "support": { "issues": "https://github.com/phpspec/prophecy/issues", - "source": "https://github.com/phpspec/prophecy/tree/1.13.0" + "source": "https://github.com/phpspec/prophecy/tree/1.14.0" }, - "time": "2021-03-17T13:42:18+00:00" + "time": "2021-09-10T09:02:12+00:00" }, { "name": "phpunit/php-code-coverage", - "version": "9.2.6", + "version": "9.2.7", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-code-coverage.git", - "reference": "f6293e1b30a2354e8428e004689671b83871edde" + "reference": "d4c798ed8d51506800b441f7a13ecb0f76f12218" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/f6293e1b30a2354e8428e004689671b83871edde", - "reference": "f6293e1b30a2354e8428e004689671b83871edde", + "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/d4c798ed8d51506800b441f7a13ecb0f76f12218", + "reference": "d4c798ed8d51506800b441f7a13ecb0f76f12218", "shasum": "" }, "require": { "ext-dom": "*", "ext-libxml": "*", "ext-xmlwriter": "*", - "nikic/php-parser": "^4.10.2", + "nikic/php-parser": "^4.12.0", "php": ">=7.3", "phpunit/php-file-iterator": "^3.0.3", "phpunit/php-text-template": "^2.0.2", @@ -6220,7 +6215,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/php-code-coverage/issues", - "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.6" + "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.7" }, "funding": [ { @@ -6228,7 +6223,7 @@ "type": "github" } ], - "time": "2021-03-28T07:26:59+00:00" + "time": "2021-09-17T05:39:03+00:00" }, { "name": "phpunit/php-file-iterator", @@ -6473,16 +6468,16 @@ }, { "name": "phpunit/phpunit", - "version": "9.5.8", + "version": "9.5.9", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "191768ccd5c85513b4068bdbe99bb6390c7d54fb" + "reference": "ea8c2dfb1065eb35a79b3681eee6e6fb0a6f273b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/191768ccd5c85513b4068bdbe99bb6390c7d54fb", - "reference": "191768ccd5c85513b4068bdbe99bb6390c7d54fb", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/ea8c2dfb1065eb35a79b3681eee6e6fb0a6f273b", + "reference": "ea8c2dfb1065eb35a79b3681eee6e6fb0a6f273b", "shasum": "" }, "require": { @@ -6560,7 +6555,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/phpunit/issues", - "source": "https://github.com/sebastianbergmann/phpunit/tree/9.5.8" + "source": "https://github.com/sebastianbergmann/phpunit/tree/9.5.9" }, "funding": [ { @@ -6572,7 +6567,7 @@ "type": "github" } ], - "time": "2021-07-31T15:17:34+00:00" + "time": "2021-08-31T06:47:40+00:00" }, { "name": "sebastian/cli-parser", From 6d02d0eb23cd89dac120cc667373e4e56f2e4faa Mon Sep 17 00:00:00 2001 From: Chris Date: Mon, 29 Nov 2021 01:48:21 -0800 Subject: [PATCH 2/2] Apply fixes from StyleCI (#118) --- src/Client.php | 6 +- .../FeatureNotImplementedException.php | 2 +- src/Exceptions/InvalidFormatException.php | 2 +- src/Functions/Image.php | 86 +++++++------------ src/Functions/Video.php | 23 ++--- src/Models/Favorite.php | 19 ++-- src/Models/Folder.php | 63 +++++--------- src/Models/Media.php | 59 +++++-------- src/Models/Storage.php | 40 +++------ src/Models/Tag.php | 66 ++++++-------- src/Models/Team.php | 24 ++---- src/Response/Response.php | 4 +- src/Traits/ForwardsCalls.php | 2 +- src/Traits/ValidsUuid.php | 3 +- 14 files changed, 143 insertions(+), 256 deletions(-) diff --git a/src/Client.php b/src/Client.php index 448581e..c30f5b2 100644 --- a/src/Client.php +++ b/src/Client.php @@ -32,7 +32,7 @@ class Client /** * Construct Meema client. * - * @param string $accessKey + * @param string $accessKey */ public function __construct($accessKey, $config = []) { @@ -67,8 +67,8 @@ public function initializeEnv() /** * Handle the API request. * - * @param string $method - * @param string $path + * @param string $method + * @param string $path */ public function request($method, $path, $data = null) { diff --git a/src/Exceptions/FeatureNotImplementedException.php b/src/Exceptions/FeatureNotImplementedException.php index c5e7b03..2707053 100644 --- a/src/Exceptions/FeatureNotImplementedException.php +++ b/src/Exceptions/FeatureNotImplementedException.php @@ -9,7 +9,7 @@ class FeatureNotImplementedException extends Exception /** * Construct exception. * - * @param string $message + * @param string $message */ public function __construct(string $message = null) { diff --git a/src/Exceptions/InvalidFormatException.php b/src/Exceptions/InvalidFormatException.php index 859ec1b..e064dd2 100644 --- a/src/Exceptions/InvalidFormatException.php +++ b/src/Exceptions/InvalidFormatException.php @@ -9,7 +9,7 @@ class InvalidFormatException extends Exception /** * Construct exception. * - * @param string $message + * @param string $message */ public function __construct(string $message = null) { diff --git a/src/Functions/Image.php b/src/Functions/Image.php index a7c959f..2b8174c 100644 --- a/src/Functions/Image.php +++ b/src/Functions/Image.php @@ -23,7 +23,7 @@ class Image /** * Construct media model. * - * @param Meema\MeemaClient\Client $client + * @param Meema\MeemaClient\Client $client */ public function __construct(Client $client) { @@ -33,8 +33,7 @@ public function __construct(Client $client) /** * Set the image width. * - * @param int $value - * + * @param int $value * @return $this */ public function w($value) @@ -47,8 +46,7 @@ public function w($value) /** * Set the image height value. * - * @param int $value - * + * @param int $value * @return $this */ public function h($value) @@ -61,8 +59,7 @@ public function h($value) /** * Set the image quality value. * - * @param int $value - * + * @param int $value * @return $this */ public function q($value) @@ -75,8 +72,7 @@ public function q($value) /** * Set the image blur value. * - * @param int $value - * + * @param int $value * @return $this */ public function blur($value) @@ -89,8 +85,7 @@ public function blur($value) /** * Determine if image is nsfw. * - * @param int|string $value - * + * @param int|string $value * @return $this */ public function nsfw($value) @@ -103,8 +98,7 @@ public function nsfw($value) /** * Set image background value. * - * @param string $value - * + * @param string $value * @return $this */ public function bg($value) @@ -117,8 +111,7 @@ public function bg($value) /** * Set the aspect ratio value. * - * @param int $value - * + * @param int $value * @return $this */ public function ar($value) @@ -131,8 +124,7 @@ public function ar($value) /** * Set the brightness value. * - * @param int $value - * + * @param int $value * @return $this */ public function bri($value) @@ -145,8 +137,7 @@ public function bri($value) /** * Set the hue shift value. * - * @param int $value - * + * @param int $value * @return $this */ public function hue($value) @@ -159,8 +150,7 @@ public function hue($value) /** * Set the saturation value. * - * @param int $value - * + * @param int $value * @return $this */ public function sat($value) @@ -173,8 +163,7 @@ public function sat($value) /** * Set the sharpen value. * - * @param int $value - * + * @param int $value * @return $this */ public function sharp($value) @@ -187,8 +176,7 @@ public function sharp($value) /** * Set the border radius outer value. * - * @param string $value - * + * @param string $value * @return $this */ public function pad($value) @@ -201,8 +189,7 @@ public function pad($value) /** * Set the greyscale value. * - * @param bool $value - * + * @param bool $value * @return $this */ public function greyscale($value) @@ -215,8 +202,7 @@ public function greyscale($value) /** * Set the trim value. * - * @param string $value - * + * @param string $value * @return $this */ public function trim($value) @@ -229,8 +215,7 @@ public function trim($value) /** * Set the face index value. * - * @param int $value - * + * @param int $value * @return $this */ public function faceindex($value) @@ -243,8 +228,7 @@ public function faceindex($value) /** * Set the fill color value. * - * @param string $value - * + * @param string $value * @return $this */ public function fillColor($value) @@ -257,8 +241,7 @@ public function fillColor($value) /** * Set the fill value. * - * @param string $value - * + * @param string $value * @return $this */ public function fill($value) @@ -271,8 +254,7 @@ public function fill($value) /** * Set the color space value. * - * @param string $value - * + * @param string $value * @return $this */ public function cs($value) @@ -285,8 +267,7 @@ public function cs($value) /** * Set the device pixel ration value. * - * @param string $value - * + * @param string $value * @return $this */ public function dpr($value) @@ -299,8 +280,7 @@ public function dpr($value) /** * Set the extend value. * - * @param int $value - * + * @param int $value * @return $this */ public function extend($value) @@ -313,8 +293,7 @@ public function extend($value) /** * Set the extract value. * - * @param string $value - * + * @param string $value * @return $this */ public function extract($value) @@ -327,8 +306,7 @@ public function extract($value) /** * Set the crop value. * - * @param string $value - * + * @param string $value * @return $this */ public function crop($value) @@ -341,8 +319,7 @@ public function crop($value) /** * Set the max height value. * - * @param int $value - * + * @param int $value * @return $this */ public function maxH($value) @@ -355,8 +332,7 @@ public function maxH($value) /** * Set the min height value. * - * @param int $value - * + * @param int $value * @return $this */ public function minH($value) @@ -369,8 +345,7 @@ public function minH($value) /** * Set the max width value. * - * @param int $value - * + * @param int $value * @return $this */ public function maxW($value) @@ -383,8 +358,7 @@ public function maxW($value) /** * Set the min width value. * - * @param int $value - * + * @param int $value * @return $this */ public function minW($value) @@ -397,8 +371,7 @@ public function minW($value) /** * Set the resize fit mode value. * - * @param string $value - * + * @param string $value * @return $this */ public function fit($value) @@ -411,8 +384,7 @@ public function fit($value) /** * Set the pixellate value. * - * @param int $value - * + * @param int $value * @return $this */ public function px($value) diff --git a/src/Functions/Video.php b/src/Functions/Video.php index d5a5f46..b7736cb 100644 --- a/src/Functions/Video.php +++ b/src/Functions/Video.php @@ -23,7 +23,7 @@ class Video /** * Construct media model. * - * @param Meema\MeemaClient\Client $client + * @param Meema\MeemaClient\Client $client */ public function __construct(Client $client) { @@ -33,8 +33,7 @@ public function __construct(Client $client) /** * Set the video thumbnail value. * - * @param string|bool $value - * + * @param string|bool $value * @return $this */ public function thumbnails($value) @@ -47,8 +46,7 @@ public function thumbnails($value) /** * Set the video hls value. * - * @param bool $value - * + * @param bool $value * @return $this */ public function hls($value) @@ -61,8 +59,7 @@ public function hls($value) /** * Set the video dash value. * - * @param bool $value - * + * @param bool $value * @return $this */ public function dash($value) @@ -75,8 +72,7 @@ public function dash($value) /** * Set the video poster value. * - * @param int $value - * + * @param int $value * @return $this */ public function poster($value) @@ -89,8 +85,7 @@ public function poster($value) /** * Set the video webvtt value. * - * @param bool $value - * + * @param bool $value * @return $this */ public function webvtt($value) @@ -103,8 +98,7 @@ public function webvtt($value) /** * Set the video format value. * - * @param string $value - * + * @param string $value * @return $this */ public function format($value) @@ -117,8 +111,7 @@ public function format($value) /** * Set the video web optimized value. * - * @param bool $value - * + * @param bool $value * @return $this */ public function webOptimized($value) diff --git a/src/Models/Favorite.php b/src/Models/Favorite.php index e063ced..af9c507 100644 --- a/src/Models/Favorite.php +++ b/src/Models/Favorite.php @@ -24,7 +24,7 @@ class Favorite /** * Construct Favorite model. * - * @param Meema\MeemaClient\Client $client + * @param Meema\MeemaClient\Client $client */ public function __construct(Client $client) { @@ -44,8 +44,7 @@ public function all() /** * Get specific favorites. * - * @param array $ids - * + * @param array $ids * @return \Illuminate\Support\Collection|array */ public function get($ids = null) @@ -70,8 +69,7 @@ public function get($ids = null) /** * Get specific favorites. * - * @param int $id - * + * @param int $id * @return array */ public function find($id) @@ -88,8 +86,7 @@ public function find($id) /** * Create favorite. * - * @param array $data - * + * @param array $data * @return array */ public function create($data) @@ -100,9 +97,8 @@ public function create($data) /** * Update favorite. * - * @param int $id - * @param string $data - * + * @param int $id + * @param string $data * @return array */ public function update($id, $data) @@ -117,8 +113,7 @@ public function update($id, $data) /** * Delete a favorite. * - * @param array $ids - * + * @param array $ids * @return null */ public function delete($ids) diff --git a/src/Models/Folder.php b/src/Models/Folder.php index 823c787..1add8ac 100644 --- a/src/Models/Folder.php +++ b/src/Models/Folder.php @@ -30,7 +30,7 @@ class Folder /** * Construct Folder model. * - * @param Meema\MeemaClient\Client $client + * @param Meema\MeemaClient\Client $client */ public function __construct(Client $client) { @@ -50,8 +50,7 @@ public function all() /** * Get specific folders. * - * @param int $id - * + * @param int $id * @return \Illuminate\Support\Collection|array * * @throws InvalidFormatException @@ -78,8 +77,7 @@ public function get($id = null) /** * Search for specific folders. * - * @param string $query - * + * @param string $query * @return array */ public function search($query) @@ -92,8 +90,7 @@ public function search($query) /** * Get specific folders. * - * @param int $id - * + * @param int $id * @return Response * * @throws InvalidFormatException @@ -112,8 +109,7 @@ public function find($id) /** * Create folder. * - * @param string $name - * + * @param string $name * @return array */ public function create($name) @@ -132,9 +128,8 @@ public function create($name) /** * Update folder. * - * @param int $id - * @param string $name - * + * @param int $id + * @param string $name * @return array */ public function update($id, $name) @@ -151,8 +146,7 @@ public function update($id, $name) /** * Delete a folder. * - * @param array $ids - * + * @param array $ids * @return null * * @throws InvalidFormatException @@ -184,8 +178,7 @@ public function delete($ids) /** * Archive a folder. * - * @param array $ids - * + * @param array $ids * @return array * * @throws InvalidFormatException @@ -213,8 +206,7 @@ public function archive($ids) /** * Unarchive a folder. * - * @param array $ids - * + * @param array $ids * @return array * * @throws InvalidFormatException @@ -242,8 +234,7 @@ public function unarchive($ids) /** * Duplicate a folder. * - * @param array $ids - * + * @param array $ids * @return array * * @throws InvalidFormatException @@ -271,9 +262,8 @@ public function duplicate($ids) /** * Add folder to media. * - * @param int $id - * @param string $name - * + * @param int $id + * @param string $name * @return array * * @throws InvalidFormatException @@ -290,9 +280,8 @@ protected function addFolderToMedia($id, $name) /** * Delete folder from media. * - * @param int $id - * @param int $folderId - * + * @param int $id + * @param int $folderId * @return null * * @throws InvalidFormatException @@ -309,9 +298,8 @@ protected function deleteFolderFromMedia($id, $folderId) /** * Associate tag to a folder. * - * @param int $id - * @param array $tag - * + * @param int $id + * @param array $tag * @return array */ public function associateTag($id, $tag) @@ -322,9 +310,8 @@ public function associateTag($id, $tag) /** * Disassociate tag from a folder. * - * @param int $id - * @param array $tag - * + * @param int $id + * @param array $tag * @return array */ public function disassociateTag($id, $tag) @@ -335,8 +322,7 @@ public function disassociateTag($id, $tag) /** * Initialize media model. * - * @param Meema\MeemaClient\Models\Media $media - * + * @param Meema\MeemaClient\Models\Media $media * @return self */ public function setMedia($media): self @@ -349,8 +335,7 @@ public function setMedia($media): self /** * Initialize media model. * - * @param Meema\MeemaClient\Models\Tag $tag - * + * @param Meema\MeemaClient\Models\Tag $tag * @return self */ public function setTag($tag): self @@ -373,8 +358,7 @@ public function getId() /** * Initialize the media model. * - * @param int $id - * + * @param int $id * @return Meema\MeemaClient\Models\Media */ public function media($id = null): Media @@ -387,8 +371,7 @@ public function media($id = null): Media /** * Initialize the tags model. * - * @param int $id - * + * @param int $id * @return Meema\MeemaClient\Models\Tag */ public function tags($id = null): Tag diff --git a/src/Models/Media.php b/src/Models/Media.php index 73ba66f..e982f1b 100644 --- a/src/Models/Media.php +++ b/src/Models/Media.php @@ -30,7 +30,7 @@ class Media /** * Construct media model. * - * @param Meema\MeemaClient\Client $client + * @param Meema\MeemaClient\Client $client */ public function __construct(Client $client) { @@ -50,8 +50,7 @@ public function all() /** * Get specific media. * - * @param array $ids - * + * @param array $ids * @return \Illuminate\Support\Collection|array * * @throws InvalidFormatException @@ -82,8 +81,7 @@ public function get($ids = null) /** * Search for specific media. * - * @param string $query - * + * @param string $query * @return \Illuminate\Support\Collection|array */ public function search($query) @@ -96,8 +94,7 @@ public function search($query) /** * Get specific media. * - * @param int $id - * + * @param int $id * @return array * * @throws InvalidFormatException @@ -116,8 +113,7 @@ public function find($id) /** * Create media. * - * @param string $name - * + * @param string $name * @return array */ public function create($name) @@ -130,9 +126,8 @@ public function create($name) /** * Update media. * - * @param int $id - * @param string $name - * + * @param int $id + * @param string $name * @return array * * @throws InvalidFormatException @@ -151,8 +146,7 @@ public function update($id, $name) /** * Delete a media. * - * @param array $ids - * + * @param array $ids * @return null * * @throws InvalidFormatException @@ -180,8 +174,7 @@ public function delete($ids) /** * Archive a media. * - * @param array $ids - * + * @param array $ids * @return array * * @throws InvalidFormatException @@ -209,8 +202,7 @@ public function archive($ids) /** * Unarchive a media. * - * @param array $ids - * + * @param array $ids * @return array * * @throws InvalidFormatException @@ -238,8 +230,7 @@ public function unarchive($ids) /** * Make a media private. * - * @param array $ids - * + * @param array $ids * @return array * * @throws InvalidFormatException @@ -267,8 +258,7 @@ public function makePrivate($ids) /** * Make a media public. * - * @param array $ids - * + * @param array $ids * @return array * * @throws InvalidFormatException @@ -296,8 +286,7 @@ public function makePublic($ids) /** * Duplicate a media. * - * @param array $ids - * + * @param array $ids * @return array * * @throws InvalidFormatException @@ -349,8 +338,7 @@ public function tags($id = null): Tag /** * Fetch the media for the folder. * - * @param Meema\MeemaClient\Models\Folder $folder - * + * @param Meema\MeemaClient\Models\Folder $folder * @return self */ public function setFolder($folder): self @@ -363,8 +351,7 @@ public function setFolder($folder): self /** * Initialize media model. * - * @param Meema\MeemaClient\Models\Tag $tag - * + * @param Meema\MeemaClient\Models\Tag $tag * @return self */ public function setTag($tag): self @@ -387,8 +374,7 @@ public function getId() /** * Fetch the media for the folder. * - * @param int $id - * + * @param int $id * @return array */ protected function fetchMediaForFolder($id) @@ -399,8 +385,7 @@ protected function fetchMediaForFolder($id) /** * Fetch the media for tags. * - * @param int $id - * + * @param int $id * @return array */ protected function fetchMediaForTag($id) @@ -435,9 +420,8 @@ protected function fetchForModel() /** * Associate tag to a media. * - * @param int $id - * @param array $tag - * + * @param int $id + * @param array $tag * @return array */ public function associateTag($id, $tag) @@ -448,9 +432,8 @@ public function associateTag($id, $tag) /** * Disassociate tag from a media. * - * @param int $id - * @param array $tag - * + * @param int $id + * @param array $tag * @return array */ public function disassociateTag($id, $tag) diff --git a/src/Models/Storage.php b/src/Models/Storage.php index 5c43ab0..ac357bb 100644 --- a/src/Models/Storage.php +++ b/src/Models/Storage.php @@ -14,7 +14,7 @@ class Storage /** * Construct storage model. * - * @param Meema\MeemaClient\Client $client + * @param Meema\MeemaClient\Client $client */ public function __construct(Client $client) { @@ -24,8 +24,7 @@ public function __construct(Client $client) /** * Upload a media file. * - * @param string $path - * + * @param string $path * @return array */ public function upload($path, $contents = null, $config = []) @@ -36,9 +35,8 @@ public function upload($path, $contents = null, $config = []) /** * Set the visibility for a file. * - * @param string $path - * @param string $visibility - * + * @param string $path + * @param string $visibility * @return array|false file meta data */ public function setVisibility($path, $visibility) @@ -49,8 +47,7 @@ public function setVisibility($path, $visibility) /** * Check whether a file exists. * - * @param string $path - * + * @param string $path * @return bool */ public function has($path) @@ -63,8 +60,7 @@ public function has($path) /** * Get all the meta data of a file or directory. * - * @param string $path - * + * @param string $path * @return false|array */ public function getMetadata($path) @@ -75,8 +71,7 @@ public function getMetadata($path) /** * Destroy the file in storage. * - * @param string $path - * + * @param string $path * @return array */ public function delete($path) @@ -87,8 +82,7 @@ public function delete($path) /** * Copy the file in storage. * - * @param string $path - * + * @param string $path * @return array */ public function copy($path, $newpath) @@ -99,8 +93,7 @@ public function copy($path, $newpath) /** * Read a file in storage. * - * @param string $path - * + * @param string $path * @return array */ public function read($path) @@ -111,8 +104,7 @@ public function read($path) /** * Read the stream of a file in storage. * - * @param string $path - * + * @param string $path * @return array */ public function readStream($path) @@ -123,8 +115,7 @@ public function readStream($path) /** * List contents of directory. * - * @param string $path - * + * @param string $path * @return array */ public function listContents($directory, $recursive = false) @@ -135,8 +126,7 @@ public function listContents($directory, $recursive = false) /** * Rename the file in storage. * - * @param string $path - * + * @param string $path * @return array */ public function rename($path, $newpath) @@ -147,8 +137,7 @@ public function rename($path, $newpath) /** * Destroy the directory in storage. * - * @param string $directory - * + * @param string $directory * @return array */ public function deleteDirectory($directory) @@ -159,8 +148,7 @@ public function deleteDirectory($directory) /** * Create a directory in storage. * - * @param string $directory - * + * @param string $directory * @return array */ public function makeDirectory($directory) diff --git a/src/Models/Tag.php b/src/Models/Tag.php index 152188c..8109228 100644 --- a/src/Models/Tag.php +++ b/src/Models/Tag.php @@ -29,7 +29,7 @@ class Tag /** * Construct Folder model. * - * @param Meema\MeemaClient\Client $client + * @param Meema\MeemaClient\Client $client */ public function __construct(Client $client) { @@ -49,8 +49,7 @@ public function all() /** * Get specific tags. * - * @param array $ids - * + * @param array $ids * @return \Illuminate\Support\Collection|array */ public function get($ids = null) @@ -79,8 +78,7 @@ public function get($ids = null) /** * Get specific tags. * - * @param int $id - * + * @param int $id * @return Response */ public function find($id): Response @@ -97,9 +95,8 @@ public function find($id): Response /** * Update a tag color. * - * @param int $id - * @param string $color - * + * @param int $id + * @param string $color * @return array */ public function update($id, $color) @@ -119,8 +116,7 @@ public function update($id, $color) /** * Delete tags. * - * @param array $ids - * + * @param array $ids * @return Response */ public function delete($ids) @@ -146,8 +142,7 @@ public function delete($ids) /** * Associate tags to a model. * - * @param array $tag - * + * @param array $tag * @return array */ public function associate($tag) @@ -158,8 +153,7 @@ public function associate($tag) /** * Associate tags to media. * - * @param array $tag - * + * @param array $tag * @return array */ public function disassociate($tag) @@ -170,8 +164,7 @@ public function disassociate($tag) /** * Initialize the media model. * - * @param int $id - * + * @param int $id * @return Meema\MeemaClient\Models\Media */ public function media($id = null): Media @@ -184,8 +177,7 @@ public function media($id = null): Media /** * Initialize the folder model. * - * @param int $id - * + * @param int $id * @return Meema\MeemaClient\Models\Folder */ public function folders($id = null): Folder @@ -198,8 +190,7 @@ public function folders($id = null): Folder /** * Fetch the tags for media. * - * @param int $id - * + * @param int $id * @return array */ protected function fetchTagsForMedia($id) @@ -210,8 +201,7 @@ protected function fetchTagsForMedia($id) /** * Fetch the tags for folders. * - * @param int $id - * + * @param int $id * @return array */ protected function fetchTagsForFolder($id) @@ -222,8 +212,7 @@ protected function fetchTagsForFolder($id) /** * Initialize media model. * - * @param Meema\MeemaClient\Models\Folder $folder - * + * @param Meema\MeemaClient\Models\Folder $folder * @return self */ public function setFolder($folder): self @@ -236,8 +225,7 @@ public function setFolder($folder): self /** * Initialize media model. * - * @param Meema\MeemaClient\Models\Media $media - * + * @param Meema\MeemaClient\Models\Media $media * @return self */ public function setMedia($media): self @@ -283,8 +271,7 @@ protected function fetchForModel() /** * Associate tags to a folder or media. * - * @param array $tag - * + * @param array $tag * @return array */ protected function associateToModel($tag) @@ -308,8 +295,7 @@ protected function associateToModel($tag) /** * Associate tags to a folder or media. * - * @param array $tag - * + * @param array $tag * @return array */ protected function disassociateToModel($tag) @@ -333,9 +319,8 @@ protected function disassociateToModel($tag) /** * Associate tag to a folder. * - * @param int $id - * @param array $tag - * + * @param int $id + * @param array $tag * @return array */ protected function associateTagToFolder($id, $tag) @@ -346,9 +331,8 @@ protected function associateTagToFolder($id, $tag) /** * Disassociate tag from a folder. * - * @param int $id - * @param array $tag - * + * @param int $id + * @param array $tag * @return array */ protected function disassociateTagFromFolder($id, $tag) @@ -359,9 +343,8 @@ protected function disassociateTagFromFolder($id, $tag) /** * Associate tag to a media. * - * @param int $id - * @param array $tag - * + * @param int $id + * @param array $tag * @return array */ protected function associateTagToMedia($id, $tag) @@ -372,9 +355,8 @@ protected function associateTagToMedia($id, $tag) /** * Disassociate tag from a media. * - * @param int $id - * @param array $tag - * + * @param int $id + * @param array $tag * @return array */ protected function disassociateTagFromMedia($id, $tag) diff --git a/src/Models/Team.php b/src/Models/Team.php index ecb1740..9e7dfe1 100644 --- a/src/Models/Team.php +++ b/src/Models/Team.php @@ -15,8 +15,8 @@ class Team /** * Construct Folder model. * - * @param Meema\MeemaClient\Client $client - * @param int $teamId + * @param Meema\MeemaClient\Client $client + * @param int $teamId */ public function __construct(Client $client) { @@ -36,8 +36,7 @@ public function all() /** * Get specific teams. * - * @param int $id - * + * @param int $id * @return array */ public function get($id = null) @@ -54,8 +53,7 @@ public function get($id = null) /** * Get specific teams. * - * @param int $id - * + * @param int $id * @return array */ public function find($id) @@ -68,8 +66,7 @@ public function find($id) /** * Create folder. * - * @param string $name - * + * @param string $name * @return array */ public function create($data) @@ -80,9 +77,8 @@ public function create($data) /** * Update folder. * - * @param string $name - * @param int $id - * + * @param string $name + * @param int $id * @return array */ public function update($id, $name) @@ -95,8 +91,7 @@ public function update($id, $name) /** * Delete a folder. * - * @param int $id - * + * @param int $id * @return null */ public function delete($id) @@ -107,8 +102,7 @@ public function delete($id) /** * Delete a folder. * - * @param int $id - * + * @param int $id * @return null */ public function toggleMediaRecognition($id, $status) diff --git a/src/Response/Response.php b/src/Response/Response.php index c976737..e2f747a 100644 --- a/src/Response/Response.php +++ b/src/Response/Response.php @@ -30,7 +30,6 @@ public function __construct($api, $content) * * @param string $method * @param array $parameters - * * @return mixed */ public function __call($method, $parameters) @@ -73,8 +72,7 @@ public function getData($key) /** * Get response content. * - * @param mixed $key - * + * @param mixed $key * @return array */ public function getContent($key = null) diff --git a/src/Traits/ForwardsCalls.php b/src/Traits/ForwardsCalls.php index 1d0c1de..55a34fd 100644 --- a/src/Traits/ForwardsCalls.php +++ b/src/Traits/ForwardsCalls.php @@ -21,7 +21,7 @@ protected function forwardCallTo($object, $method, $parameters) { try { return $object->{$method}(...$parameters); - } catch (Error | BadMethodCallException $e) { + } catch (Error|BadMethodCallException $e) { $pattern = '~^Call to undefined method (?P[^:]+)::(?P[^\(]+)\(\)$~'; if (! preg_match($pattern, $e->getMessage(), $matches)) { diff --git a/src/Traits/ValidsUuid.php b/src/Traits/ValidsUuid.php index 1d6bd59..ca5b33c 100644 --- a/src/Traits/ValidsUuid.php +++ b/src/Traits/ValidsUuid.php @@ -7,8 +7,7 @@ trait ValidsUuid /** * Check if a given string is a valid UUID. * - * @param string $uuid - * + * @param string $uuid * @return bool */ public function isValidUuid($uuid)