ReviewOS

also looking at this

meemalabs/meema-client-php

Bump pestphp/pest from 1.15.0 to 1.19.0

#109
Merged dependabot[bot] wants to merge dependabot/composer/pestphp/pest-1.19.0 into main
15 files +214 -326
composer.lockmodified+71-70
Changes to composer.lock
@@ -2383,16 +2383,16 @@
23832383 },
23842384 {
23852385 "name": "symfony/console",
2386 "version": "v5.3.6",
2386 "version": "v5.3.7",
23872387 "source": {
23882388 "type": "git",
23892389 "url": "https://github.com/symfony/console.git",
2390 "reference": "51b71afd6d2dc8f5063199357b9880cea8d8bfe2"
2390 "reference": "8b1008344647462ae6ec57559da166c2bfa5e16a"
23912391 },
23922392 "dist": {
23932393 "type": "zip",
2394 "url": "https://api.github.com/repos/symfony/console/zipball/51b71afd6d2dc8f5063199357b9880cea8d8bfe2",
2395 "reference": "51b71afd6d2dc8f5063199357b9880cea8d8bfe2",
2394 "url": "https://api.github.com/repos/symfony/console/zipball/8b1008344647462ae6ec57559da166c2bfa5e16a",
2395 "reference": "8b1008344647462ae6ec57559da166c2bfa5e16a",
23962396 "shasum": ""
23972397 },
23982398 "require": {
@@ -2462,7 +2462,7 @@
24622462 "terminal"
24632463 ],
24642464 "support": {
2465 "source": "https://github.com/symfony/console/tree/v5.3.6"
2465 "source": "https://github.com/symfony/console/tree/v5.3.7"
24662466 },
24672467 "funding": [
24682468 {
@@ -2478,7 +2478,7 @@
24782478 "type": "tidelift"
24792479 }
24802480 ],
2481 "time": "2021-07-27T19:10:22+00:00"
2481 "time": "2021-08-25T20:02:16+00:00"
24822482 },
24832483 {
24842484 "name": "symfony/css-selector",
@@ -4294,16 +4294,16 @@
42944294 },
42954295 {
42964296 "name": "symfony/string",
4297 "version": "v5.3.3",
4297 "version": "v5.3.7",
42984298 "source": {
42994299 "type": "git",
43004300 "url": "https://github.com/symfony/string.git",
4301 "reference": "bd53358e3eccec6a670b5f33ab680d8dbe1d4ae1"
4301 "reference": "8d224396e28d30f81969f083a58763b8b9ceb0a5"
43024302 },
43034303 "dist": {
43044304 "type": "zip",
4305 "url": "https://api.github.com/repos/symfony/string/zipball/bd53358e3eccec6a670b5f33ab680d8dbe1d4ae1",
4306 "reference": "bd53358e3eccec6a670b5f33ab680d8dbe1d4ae1",
4305 "url": "https://api.github.com/repos/symfony/string/zipball/8d224396e28d30f81969f083a58763b8b9ceb0a5",
4306 "reference": "8d224396e28d30f81969f083a58763b8b9ceb0a5",
43074307 "shasum": ""
43084308 },
43094309 "require": {
@@ -4357,7 +4357,7 @@
43574357 "utf8"
43584358 ],
43594359 "support": {
4360 "source": "https://github.com/symfony/string/tree/v5.3.3"
4360 "source": "https://github.com/symfony/string/tree/v5.3.7"
43614361 },
43624362 "funding": [
43634363 {
@@ -4373,7 +4373,7 @@
43734373 "type": "tidelift"
43744374 }
43754375 ],
4376 "time": "2021-06-27T11:44:38+00:00"
4376 "time": "2021-08-26T08:00:08+00:00"
43774377 },
43784378 {
43794379 "name": "symfony/translation",
@@ -5092,16 +5092,16 @@
50925092 },
50935093 {
50945094 "name": "filp/whoops",
5095 "version": "2.14.0",
5095 "version": "2.14.3",
50965096 "source": {
50975097 "type": "git",
50985098 "url": "https://github.com/filp/whoops.git",
5099 "reference": "fdf92f03e150ed84d5967a833ae93abffac0315b"
5099 "reference": "89584ce67dd32307f1063cc43846674f4679feda"
51005100 },
51015101 "dist": {
51025102 "type": "zip",
5103 "url": "https://api.github.com/repos/filp/whoops/zipball/fdf92f03e150ed84d5967a833ae93abffac0315b",
5104 "reference": "fdf92f03e150ed84d5967a833ae93abffac0315b",
5103 "url": "https://api.github.com/repos/filp/whoops/zipball/89584ce67dd32307f1063cc43846674f4679feda",
5104 "reference": "89584ce67dd32307f1063cc43846674f4679feda",
51055105 "shasum": ""
51065106 },
51075107 "require": {
@@ -5151,7 +5151,7 @@
51515151 ],
51525152 "support": {
51535153 "issues": "https://github.com/filp/whoops/issues",
5154 "source": "https://github.com/filp/whoops/tree/2.14.0"
5154 "source": "https://github.com/filp/whoops/tree/2.14.3"
51555155 },
51565156 "funding": [
51575157 {
@@ -5159,7 +5159,7 @@
51595159 "type": "github"
51605160 }
51615161 ],
5162 "time": "2021-07-13T12:00:00+00:00"
5162 "time": "2021-09-19T12:00:00+00:00"
51635163 },
51645164 {
51655165 "name": "hamcrest/hamcrest-php",
@@ -5344,16 +5344,16 @@
53445344 },
53455345 {
53465346 "name": "nikic/php-parser",
5347 "version": "v4.12.0",
5347 "version": "v4.13.0",
53485348 "source": {
53495349 "type": "git",
53505350 "url": "https://github.com/nikic/PHP-Parser.git",
5351 "reference": "6608f01670c3cc5079e18c1dab1104e002579143"
5351 "reference": "50953a2691a922aa1769461637869a0a2faa3f53"
53525352 },
53535353 "dist": {
53545354 "type": "zip",
5355 "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/6608f01670c3cc5079e18c1dab1104e002579143",
5356 "reference": "6608f01670c3cc5079e18c1dab1104e002579143",
5355 "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/50953a2691a922aa1769461637869a0a2faa3f53",
5356 "reference": "50953a2691a922aa1769461637869a0a2faa3f53",
53575357 "shasum": ""
53585358 },
53595359 "require": {
@@ -5394,39 +5394,38 @@
53945394 ],
53955395 "support": {
53965396 "issues": "https://github.com/nikic/PHP-Parser/issues",
5397 "source": "https://github.com/nikic/PHP-Parser/tree/v4.12.0"
5397 "source": "https://github.com/nikic/PHP-Parser/tree/v4.13.0"
53985398 },
5399 "time": "2021-07-21T10:44:31+00:00"
5399 "time": "2021-09-20T12:20:58+00:00"
54005400 },
54015401 {
54025402 "name": "nunomaduro/collision",
5403 "version": "v5.8.0",
5403 "version": "v5.10.0",
54045404 "source": {
54055405 "type": "git",
54065406 "url": "https://github.com/nunomaduro/collision.git",
5407 "reference": "0c3c393462eada1233513664e2d22bb9f69ca393"
5407 "reference": "3004cfa49c022183395eabc6d0e5207dfe498d00"
54085408 },
54095409 "dist": {
54105410 "type": "zip",
5411 "url": "https://api.github.com/repos/nunomaduro/collision/zipball/0c3c393462eada1233513664e2d22bb9f69ca393",
5412 "reference": "0c3c393462eada1233513664e2d22bb9f69ca393",
5411 "url": "https://api.github.com/repos/nunomaduro/collision/zipball/3004cfa49c022183395eabc6d0e5207dfe498d00",
5412 "reference": "3004cfa49c022183395eabc6d0e5207dfe498d00",
54135413 "shasum": ""
54145414 },
54155415 "require": {
54165416 "facade/ignition-contracts": "^1.0",
5417 "filp/whoops": "^2.7.2",
5417 "filp/whoops": "^2.14.3",
54185418 "php": "^7.3 || ^8.0",
54195419 "symfony/console": "^5.0"
54205420 },
54215421 "require-dev": {
54225422 "brianium/paratest": "^6.1",
54235423 "fideloper/proxy": "^4.4.1",
5424 "friendsofphp/php-cs-fixer": "^3.0",
54255424 "fruitcake/laravel-cors": "^2.0.3",
5426 "laravel/framework": "^8.0 || ^9.0",
5425 "laravel/framework": "8.x-dev",
54275426 "nunomaduro/larastan": "^0.6.2",
54285427 "nunomaduro/mock-final-classes": "^1.0",
5429 "orchestra/testbench": "^6.0 || ^7.0",
5428 "orchestra/testbench": "^6.0",
54305429 "phpstan/phpstan": "^0.12.64",
54315430 "phpunit/phpunit": "^9.5.0"
54325431 },
@@ -5484,7 +5483,7 @@
54845483 "type": "patreon"
54855484 }
54865485 ],
5487 "time": "2021-08-13T14:23:01+00:00"
5486 "time": "2021-09-20T15:06:32+00:00"
54885487 },
54895488 {
54905489 "name": "orchestra/testbench",
@@ -5640,20 +5639,20 @@
56405639 },
56415640 {
56425641 "name": "pestphp/pest",
5643 "version": "v1.15.0",
5642 "version": "v1.19.0",
56445643 "source": {
56455644 "type": "git",
56465645 "url": "https://github.com/pestphp/pest.git",
5647 "reference": "d1a9e0bbe31dcb266690dc4e7517e2cb73d5827a"
5646 "reference": "58cff003d8d478ecb4cbe87bd6380f51efc4ebc7"
56485647 },
56495648 "dist": {
56505649 "type": "zip",
5651 "url": "https://api.github.com/repos/pestphp/pest/zipball/d1a9e0bbe31dcb266690dc4e7517e2cb73d5827a",
5652 "reference": "d1a9e0bbe31dcb266690dc4e7517e2cb73d5827a",
5650 "url": "https://api.github.com/repos/pestphp/pest/zipball/58cff003d8d478ecb4cbe87bd6380f51efc4ebc7",
5651 "reference": "58cff003d8d478ecb4cbe87bd6380f51efc4ebc7",
56535652 "shasum": ""
56545653 },
56555654 "require": {
5656 "nunomaduro/collision": "^5.4.0",
5655 "nunomaduro/collision": "^5.4.0|^6.0",
56575656 "pestphp/pest-plugin": "^1.0.0",
56585657 "php": "^7.3 || ^8.0",
56595658 "phpunit/phpunit": "^9.5.5"
@@ -5662,7 +5661,8 @@
56625661 "illuminate/console": "^8.47.0",
56635662 "illuminate/support": "^8.47.0",
56645663 "laravel/dusk": "^6.15.0",
5665 "pestphp/pest-dev-tools": "dev-master"
5664 "pestphp/pest-dev-tools": "dev-master",
5665 "pestphp/pest-plugin-parallel": "^1.0"
56665666 },
56675667 "bin": [
56685668 "bin/pest"
@@ -5715,7 +5715,7 @@
57155715 ],
57165716 "support": {
57175717 "issues": "https://github.com/pestphp/pest/issues",
5718 "source": "https://github.com/pestphp/pest/tree/v1.15.0"
5718 "source": "https://github.com/pestphp/pest/tree/v1.19.0"
57195719 },
57205720 "funding": [
57215721 {
@@ -5743,7 +5743,7 @@
57435743 "type": "patreon"
57445744 }
57455745 ],
5746 "time": "2021-08-04T22:02:18+00:00"
5746 "time": "2021-09-20T18:30:58+00:00"
57475747 },
57485748 {
57495749 "name": "pestphp/pest-plugin",
@@ -6039,16 +6039,16 @@
60396039 },
60406040 {
60416041 "name": "phpdocumentor/type-resolver",
6042 "version": "1.4.0",
6042 "version": "1.5.0",
60436043 "source": {
60446044 "type": "git",
60456045 "url": "https://github.com/phpDocumentor/TypeResolver.git",
6046 "reference": "6a467b8989322d92aa1c8bf2bebcc6e5c2ba55c0"
6046 "reference": "30f38bffc6f24293dadd1823936372dfa9e86e2f"
60476047 },
60486048 "dist": {
60496049 "type": "zip",
6050 "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/6a467b8989322d92aa1c8bf2bebcc6e5c2ba55c0",
6051 "reference": "6a467b8989322d92aa1c8bf2bebcc6e5c2ba55c0",
6050 "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/30f38bffc6f24293dadd1823936372dfa9e86e2f",
6051 "reference": "30f38bffc6f24293dadd1823936372dfa9e86e2f",
60526052 "shasum": ""
60536053 },
60546054 "require": {
@@ -6056,7 +6056,8 @@
60566056 "phpdocumentor/reflection-common": "^2.0"
60576057 },
60586058 "require-dev": {
6059 "ext-tokenizer": "*"
6059 "ext-tokenizer": "*",
6060 "psalm/phar": "^4.8"
60606061 },
60616062 "type": "library",
60626063 "extra": {
@@ -6082,39 +6083,39 @@
60826083 "description": "A PSR-5 based resolver of Class names, Types and Structural Element Names",
60836084 "support": {
60846085 "issues": "https://github.com/phpDocumentor/TypeResolver/issues",
6085 "source": "https://github.com/phpDocumentor/TypeResolver/tree/1.4.0"
6086 "source": "https://github.com/phpDocumentor/TypeResolver/tree/1.5.0"
60866087 },
6087 "time": "2020-09-17T18:55:26+00:00"
6088 "time": "2021-09-17T15:28:14+00:00"
60886089 },
60896090 {
60906091 "name": "phpspec/prophecy",
6091 "version": "1.13.0",
6092 "version": "1.14.0",
60926093 "source": {
60936094 "type": "git",
60946095 "url": "https://github.com/phpspec/prophecy.git",
6095 "reference": "be1996ed8adc35c3fd795488a653f4b518be70ea"
6096 "reference": "d86dfc2e2a3cd366cee475e52c6bb3bbc371aa0e"
60966097 },
60976098 "dist": {
60986099 "type": "zip",
6099 "url": "https://api.github.com/repos/phpspec/prophecy/zipball/be1996ed8adc35c3fd795488a653f4b518be70ea",
6100 "reference": "be1996ed8adc35c3fd795488a653f4b518be70ea",
6100 "url": "https://api.github.com/repos/phpspec/prophecy/zipball/d86dfc2e2a3cd366cee475e52c6bb3bbc371aa0e",
6101 "reference": "d86dfc2e2a3cd366cee475e52c6bb3bbc371aa0e",
61016102 "shasum": ""
61026103 },
61036104 "require": {
61046105 "doctrine/instantiator": "^1.2",
6105 "php": "^7.2 || ~8.0, <8.1",
6106 "php": "^7.2 || ~8.0, <8.2",
61066107 "phpdocumentor/reflection-docblock": "^5.2",
61076108 "sebastian/comparator": "^3.0 || ^4.0",
61086109 "sebastian/recursion-context": "^3.0 || ^4.0"
61096110 },
61106111 "require-dev": {
6111 "phpspec/phpspec": "^6.0",
6112 "phpspec/phpspec": "^6.0 || ^7.0",
61126113 "phpunit/phpunit": "^8.0 || ^9.0"
61136114 },
61146115 "type": "library",
61156116 "extra": {
61166117 "branch-alias": {
6117 "dev-master": "1.11.x-dev"
6118 "dev-master": "1.x-dev"
61186119 }
61196120 },
61206121 "autoload": {
@@ -6149,29 +6150,29 @@
61496150 ],
61506151 "support": {
61516152 "issues": "https://github.com/phpspec/prophecy/issues",
6152 "source": "https://github.com/phpspec/prophecy/tree/1.13.0"
6153 "source": "https://github.com/phpspec/prophecy/tree/1.14.0"
61536154 },
6154 "time": "2021-03-17T13:42:18+00:00"
6155 "time": "2021-09-10T09:02:12+00:00"
61556156 },
61566157 {
61576158 "name": "phpunit/php-code-coverage",
6158 "version": "9.2.6",
6159 "version": "9.2.7",
61596160 "source": {
61606161 "type": "git",
61616162 "url": "https://github.com/sebastianbergmann/php-code-coverage.git",
6162 "reference": "f6293e1b30a2354e8428e004689671b83871edde"
6163 "reference": "d4c798ed8d51506800b441f7a13ecb0f76f12218"
61636164 },
61646165 "dist": {
61656166 "type": "zip",
6166 "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/f6293e1b30a2354e8428e004689671b83871edde",
6167 "reference": "f6293e1b30a2354e8428e004689671b83871edde",
6167 "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/d4c798ed8d51506800b441f7a13ecb0f76f12218",
6168 "reference": "d4c798ed8d51506800b441f7a13ecb0f76f12218",
61686169 "shasum": ""
61696170 },
61706171 "require": {
61716172 "ext-dom": "*",
61726173 "ext-libxml": "*",
61736174 "ext-xmlwriter": "*",
6174 "nikic/php-parser": "^4.10.2",
6175 "nikic/php-parser": "^4.12.0",
61756176 "php": ">=7.3",
61766177 "phpunit/php-file-iterator": "^3.0.3",
61776178 "phpunit/php-text-template": "^2.0.2",
@@ -6220,7 +6221,7 @@
62206221 ],
62216222 "support": {
62226223 "issues": "https://github.com/sebastianbergmann/php-code-coverage/issues",
6223 "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.6"
6224 "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.7"
62246225 },
62256226 "funding": [
62266227 {
@@ -6228,7 +6229,7 @@
62286229 "type": "github"
62296230 }
62306231 ],
6231 "time": "2021-03-28T07:26:59+00:00"
6232 "time": "2021-09-17T05:39:03+00:00"
62326233 },
62336234 {
62346235 "name": "phpunit/php-file-iterator",
@@ -6473,16 +6474,16 @@
64736474 },
64746475 {
64756476 "name": "phpunit/phpunit",
6476 "version": "9.5.8",
6477 "version": "9.5.9",
64776478 "source": {
64786479 "type": "git",
64796480 "url": "https://github.com/sebastianbergmann/phpunit.git",
6480 "reference": "191768ccd5c85513b4068bdbe99bb6390c7d54fb"
6481 "reference": "ea8c2dfb1065eb35a79b3681eee6e6fb0a6f273b"
64816482 },
64826483 "dist": {
64836484 "type": "zip",
6484 "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/191768ccd5c85513b4068bdbe99bb6390c7d54fb",
6485 "reference": "191768ccd5c85513b4068bdbe99bb6390c7d54fb",
6485 "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/ea8c2dfb1065eb35a79b3681eee6e6fb0a6f273b",
6486 "reference": "ea8c2dfb1065eb35a79b3681eee6e6fb0a6f273b",
64866487 "shasum": ""
64876488 },
64886489 "require": {
@@ -6560,7 +6561,7 @@
65606561 ],
65616562 "support": {
65626563 "issues": "https://github.com/sebastianbergmann/phpunit/issues",
6563 "source": "https://github.com/sebastianbergmann/phpunit/tree/9.5.8"
6564 "source": "https://github.com/sebastianbergmann/phpunit/tree/9.5.9"
65646565 },
65656566 "funding": [
65666567 {
@@ -6572,7 +6573,7 @@
65726573 "type": "github"
65736574 }
65746575 ],
6575 "time": "2021-07-31T15:17:34+00:00"
6576 "time": "2021-08-31T06:47:40+00:00"
65766577 },
65776578 {
65786579 "name": "sebastian/cli-parser",
src/Client.phpmodifiedformatting only+3-3
Changes to src/Client.php
@@ -32,7 +32,7 @@ class Client
3232 /**
3333 * Construct Meema client.
3434 *
35 * @param string $accessKey
35 * @param string $accessKey
3636 */
3737 public function __construct($accessKey, $config = [])
3838 {
@@ -67,8 +67,8 @@ class Client
6767 /**
6868 * Handle the API request.
6969 *
70 * @param string $method
71 * @param string $path
70 * @param string $method
71 * @param string $path
7272 */
7373 public function request($method, $path, $data = null)
7474 {
src/Exceptions/FeatureNotImplementedException.phpmodifiedformatting only+1-1
Changes to src/Exceptions/FeatureNotImplementedException.php
@@ -9,7 +9,7 @@ class FeatureNotImplementedException extends Exception
99 /**
1010 * Construct exception.
1111 *
12 * @param string $message
12 * @param string $message
1313 */
1414 public function __construct(string $message = null)
1515 {
src/Exceptions/InvalidFormatException.phpmodifiedformatting only+1-1
Changes to src/Exceptions/InvalidFormatException.php
@@ -9,7 +9,7 @@ class InvalidFormatException extends Exception
99 /**
1010 * Construct exception.
1111 *
12 * @param string $message
12 * @param string $message
1313 */
1414 public function __construct(string $message = null)
1515 {
src/Functions/Image.phpmodified+29-57
formatting only · 8 hidden lines
Changes to src/Functions/Image.php
@@ -23,7 +23,7 @@ class Image formatting only
2323 /**
2424 * Construct media model.
2525 *
26 * @param Meema\MeemaClient\Client $client
26 * @param Meema\MeemaClient\Client $client
2727 */
2828 public function __construct(Client $client)
2929 {
Changes to src/Functions/Image.php
@@ -33,8 +33,7 @@ class Image
3333 /**
3434 * Set the image width.
3535 *
36 * @param int $value
37 *
36 * @param int $value
3837 * @return $this
3938 */
4039 public function w($value)
@@ -47,8 +46,7 @@ class Image
4746 /**
4847 * Set the image height value.
4948 *
50 * @param int $value
51 *
49 * @param int $value
5250 * @return $this
5351 */
5452 public function h($value)
@@ -61,8 +59,7 @@ class Image
6159 /**
6260 * Set the image quality value.
6361 *
64 * @param int $value
65 *
62 * @param int $value
6663 * @return $this
6764 */
6865 public function q($value)
@@ -75,8 +72,7 @@ class Image
7572 /**
7673 * Set the image blur value.
7774 *
78 * @param int $value
79 *
75 * @param int $value
8076 * @return $this
8177 */
8278 public function blur($value)
@@ -89,8 +85,7 @@ class Image
8985 /**
9086 * Determine if image is nsfw.
9187 *
92 * @param int|string $value
93 *
88 * @param int|string $value
9489 * @return $this
9590 */
9691 public function nsfw($value)
@@ -103,8 +98,7 @@ class Image
10398 /**
10499 * Set image background value.
105100 *
106 * @param string $value
107 *
101 * @param string $value
108102 * @return $this
109103 */
110104 public function bg($value)
@@ -117,8 +111,7 @@ class Image
117111 /**
118112 * Set the aspect ratio value.
119113 *
120 * @param int $value
121 *
114 * @param int $value
122115 * @return $this
123116 */
124117 public function ar($value)
@@ -131,8 +124,7 @@ class Image
131124 /**
132125 * Set the brightness value.
133126 *
134 * @param int $value
135 *
127 * @param int $value
136128 * @return $this
137129 */
138130 public function bri($value)
@@ -145,8 +137,7 @@ class Image
145137 /**
146138 * Set the hue shift value.
147139 *
148 * @param int $value
149 *
140 * @param int $value
150141 * @return $this
151142 */
152143 public function hue($value)
@@ -159,8 +150,7 @@ class Image
159150 /**
160151 * Set the saturation value.
161152 *
162 * @param int $value
163 *
153 * @param int $value
164154 * @return $this
165155 */
166156 public function sat($value)
@@ -173,8 +163,7 @@ class Image
173163 /**
174164 * Set the sharpen value.
175165 *
176 * @param int $value
177 *
166 * @param int $value
178167 * @return $this
179168 */
180169 public function sharp($value)
@@ -187,8 +176,7 @@ class Image
187176 /**
188177 * Set the border radius outer value.
189178 *
190 * @param string $value
191 *
179 * @param string $value
192180 * @return $this
193181 */
194182 public function pad($value)
@@ -201,8 +189,7 @@ class Image
201189 /**
202190 * Set the greyscale value.
203191 *
204 * @param bool $value
205 *
192 * @param bool $value
206193 * @return $this
207194 */
208195 public function greyscale($value)
@@ -215,8 +202,7 @@ class Image
215202 /**
216203 * Set the trim value.
217204 *
218 * @param string $value
219 *
205 * @param string $value
220206 * @return $this
221207 */
222208 public function trim($value)
@@ -229,8 +215,7 @@ class Image
229215 /**
230216 * Set the face index value.
231217 *
232 * @param int $value
233 *
218 * @param int $value
234219 * @return $this
235220 */
236221 public function faceindex($value)
@@ -243,8 +228,7 @@ class Image
243228 /**
244229 * Set the fill color value.
245230 *
246 * @param string $value
247 *
231 * @param string $value
248232 * @return $this
249233 */
250234 public function fillColor($value)
@@ -257,8 +241,7 @@ class Image
257241 /**
258242 * Set the fill value.
259243 *
260 * @param string $value
261 *
244 * @param string $value
262245 * @return $this
263246 */
264247 public function fill($value)
@@ -271,8 +254,7 @@ class Image
271254 /**
272255 * Set the color space value.
273256 *
274 * @param string $value
275 *
257 * @param string $value
276258 * @return $this
277259 */
278260 public function cs($value)
@@ -285,8 +267,7 @@ class Image
285267 /**
286268 * Set the device pixel ration value.
287269 *
288 * @param string $value
289 *
270 * @param string $value
290271 * @return $this
291272 */
292273 public function dpr($value)
@@ -299,8 +280,7 @@ class Image
299280 /**
300281 * Set the extend value.
301282 *
302 * @param int $value
303 *
283 * @param int $value
304284 * @return $this
305285 */
306286 public function extend($value)
@@ -313,8 +293,7 @@ class Image
313293 /**
314294 * Set the extract value.
315295 *
316 * @param string $value
317 *
296 * @param string $value
318297 * @return $this
319298 */
320299 public function extract($value)
@@ -327,8 +306,7 @@ class Image
327306 /**
328307 * Set the crop value.
329308 *
330 * @param string $value
331 *
309 * @param string $value
332310 * @return $this
333311 */
334312 public function crop($value)
@@ -341,8 +319,7 @@ class Image
341319 /**
342320 * Set the max height value.
343321 *
344 * @param int $value
345 *
322 * @param int $value
346323 * @return $this
347324 */
348325 public function maxH($value)
@@ -355,8 +332,7 @@ class Image
355332 /**
356333 * Set the min height value.
357334 *
358 * @param int $value
359 *
335 * @param int $value
360336 * @return $this
361337 */
362338 public function minH($value)
@@ -369,8 +345,7 @@ class Image
369345 /**
370346 * Set the max width value.
371347 *
372 * @param int $value
373 *
348 * @param int $value
374349 * @return $this
375350 */
376351 public function maxW($value)
@@ -383,8 +358,7 @@ class Image
383358 /**
384359 * Set the min width value.
385360 *
386 * @param int $value
387 *
361 * @param int $value
388362 * @return $this
389363 */
390364 public function minW($value)
@@ -397,8 +371,7 @@ class Image
397371 /**
398372 * Set the resize fit mode value.
399373 *
400 * @param string $value
401 *
374 * @param string $value
402375 * @return $this
403376 */
404377 public function fit($value)
@@ -411,8 +384,7 @@ class Image
411384 /**
412385 * Set the pixellate value.
413386 *
414 * @param int $value
415 *
387 * @param int $value
416388 * @return $this
417389 */
418390 public function px($value)
src/Functions/Video.phpmodified+8-15
formatting only · 8 hidden lines
Changes to src/Functions/Video.php
@@ -23,7 +23,7 @@ class Video formatting only
2323 /**
2424 * Construct media model.
2525 *
26 * @param Meema\MeemaClient\Client $client
26 * @param Meema\MeemaClient\Client $client
2727 */
2828 public function __construct(Client $client)
2929 {
Changes to src/Functions/Video.php
@@ -33,8 +33,7 @@ class Video
3333 /**
3434 * Set the video thumbnail value.
3535 *
36 * @param string|bool $value
37 *
36 * @param string|bool $value
3837 * @return $this
3938 */
4039 public function thumbnails($value)
@@ -47,8 +46,7 @@ class Video
4746 /**
4847 * Set the video hls value.
4948 *
50 * @param bool $value
51 *
49 * @param bool $value
5250 * @return $this
5351 */
5452 public function hls($value)
@@ -61,8 +59,7 @@ class Video
6159 /**
6260 * Set the video dash value.
6361 *
64 * @param bool $value
65 *
62 * @param bool $value
6663 * @return $this
6764 */
6865 public function dash($value)
@@ -75,8 +72,7 @@ class Video
7572 /**
7673 * Set the video poster value.
7774 *
78 * @param int $value
79 *
75 * @param int $value
8076 * @return $this
8177 */
8278 public function poster($value)
@@ -89,8 +85,7 @@ class Video
8985 /**
9086 * Set the video webvtt value.
9187 *
92 * @param bool $value
93 *
88 * @param bool $value
9489 * @return $this
9590 */
9691 public function webvtt($value)
@@ -103,8 +98,7 @@ class Video
10398 /**
10499 * Set the video format value.
105100 *
106 * @param string $value
107 *
101 * @param string $value
108102 * @return $this
109103 */
110104 public function format($value)
@@ -117,8 +111,7 @@ class Video
117111 /**
118112 * Set the video web optimized value.
119113 *
120 * @param bool $value
121 *
114 * @param bool $value
122115 * @return $this
123116 */
124117 public function webOptimized($value)
src/Models/Favorite.phpmodified+7-12
formatting only · 8 hidden lines
Changes to src/Models/Favorite.php
@@ -24,7 +24,7 @@ class Favorite formatting only
2424 /**
2525 * Construct Favorite model.
2626 *
27 * @param Meema\MeemaClient\Client $client
27 * @param Meema\MeemaClient\Client $client
2828 */
2929 public function __construct(Client $client)
3030 {
Changes to src/Models/Favorite.php
@@ -44,8 +44,7 @@ class Favorite
4444 /**
4545 * Get specific favorites.
4646 *
47 * @param array $ids
48 *
47 * @param array $ids
4948 * @return \Illuminate\Support\Collection|array
5049 */
5150 public function get($ids = null)
@@ -70,8 +69,7 @@ class Favorite
7069 /**
7170 * Get specific favorites.
7271 *
73 * @param int $id
74 *
72 * @param int $id
7573 * @return array
7674 */
7775 public function find($id)
@@ -88,8 +86,7 @@ class Favorite
8886 /**
8987 * Create favorite.
9088 *
91 * @param array $data
92 *
89 * @param array $data
9390 * @return array
9491 */
9592 public function create($data)
@@ -100,9 +97,8 @@ class Favorite
10097 /**
10198 * Update favorite.
10299 *
103 * @param int $id
104 * @param string $data
105 *
100 * @param int $id
101 * @param string $data
106102 * @return array
107103 */
108104 public function update($id, $data)
@@ -117,8 +113,7 @@ class Favorite
117113 /**
118114 * Delete a favorite.
119115 *
120 * @param array $ids
121 *
116 * @param array $ids
122117 * @return null
123118 */
124119 public function delete($ids)
src/Models/Folder.phpmodified+23-40
formatting only · 8 hidden lines
Changes to src/Models/Folder.php
@@ -30,7 +30,7 @@ class Folder formatting only
3030 /**
3131 * Construct Folder model.
3232 *
33 * @param Meema\MeemaClient\Client $client
33 * @param Meema\MeemaClient\Client $client
3434 */
3535 public function __construct(Client $client)
3636 {
Changes to src/Models/Folder.php
@@ -50,8 +50,7 @@ class Folder
5050 /**
5151 * Get specific folders.
5252 *
53 * @param int $id
54 *
53 * @param int $id
5554 * @return \Illuminate\Support\Collection|array
5655 *
5756 * @throws InvalidFormatException
@@ -78,8 +77,7 @@ class Folder
7877 /**
7978 * Search for specific folders.
8079 *
81 * @param string $query
82 *
80 * @param string $query
8381 * @return array
8482 */
8583 public function search($query)
@@ -92,8 +90,7 @@ class Folder
9290 /**
9391 * Get specific folders.
9492 *
95 * @param int $id
96 *
93 * @param int $id
9794 * @return Response
9895 *
9996 * @throws InvalidFormatException
@@ -112,8 +109,7 @@ class Folder
112109 /**
113110 * Create folder.
114111 *
115 * @param string $name
116 *
112 * @param string $name
117113 * @return array
118114 */
119115 public function create($name)
@@ -132,9 +128,8 @@ class Folder
132128 /**
133129 * Update folder.
134130 *
135 * @param int $id
136 * @param string $name
137 *
131 * @param int $id
132 * @param string $name
138133 * @return array
139134 */
140135 public function update($id, $name)
@@ -151,8 +146,7 @@ class Folder
151146 /**
152147 * Delete a folder.
153148 *
154 * @param array $ids
155 *
149 * @param array $ids
156150 * @return null
157151 *
158152 * @throws InvalidFormatException
@@ -184,8 +178,7 @@ class Folder
184178 /**
185179 * Archive a folder.
186180 *
187 * @param array $ids
188 *
181 * @param array $ids
189182 * @return array
190183 *
191184 * @throws InvalidFormatException
@@ -213,8 +206,7 @@ class Folder
213206 /**
214207 * Unarchive a folder.
215208 *
216 * @param array $ids
217 *
209 * @param array $ids
218210 * @return array
219211 *
220212 * @throws InvalidFormatException
@@ -242,8 +234,7 @@ class Folder
242234 /**
243235 * Duplicate a folder.
244236 *
245 * @param array $ids
246 *
237 * @param array $ids
247238 * @return array
248239 *
249240 * @throws InvalidFormatException
@@ -271,9 +262,8 @@ class Folder
271262 /**
272263 * Add folder to media.
273264 *
274 * @param int $id
275 * @param string $name
276 *
265 * @param int $id
266 * @param string $name
277267 * @return array
278268 *
279269 * @throws InvalidFormatException
@@ -290,9 +280,8 @@ class Folder
290280 /**
291281 * Delete folder from media.
292282 *
293 * @param int $id
294 * @param int $folderId
295 *
283 * @param int $id
284 * @param int $folderId
296285 * @return null
297286 *
298287 * @throws InvalidFormatException
@@ -309,9 +298,8 @@ class Folder
309298 /**
310299 * Associate tag to a folder.
311300 *
312 * @param int $id
313 * @param array $tag
314 *
301 * @param int $id
302 * @param array $tag
315303 * @return array
316304 */
317305 public function associateTag($id, $tag)
@@ -322,9 +310,8 @@ class Folder
322310 /**
323311 * Disassociate tag from a folder.
324312 *
325 * @param int $id
326 * @param array $tag
327 *
313 * @param int $id
314 * @param array $tag
328315 * @return array
329316 */
330317 public function disassociateTag($id, $tag)
@@ -335,8 +322,7 @@ class Folder
335322 /**
336323 * Initialize media model.
337324 *
338 * @param Meema\MeemaClient\Models\Media $media
339 *
325 * @param Meema\MeemaClient\Models\Media $media
340326 * @return self
341327 */
342328 public function setMedia($media): self
@@ -349,8 +335,7 @@ class Folder
349335 /**
350336 * Initialize media model.
351337 *
352 * @param Meema\MeemaClient\Models\Tag $tag
353 *
338 * @param Meema\MeemaClient\Models\Tag $tag
354339 * @return self
355340 */
356341 public function setTag($tag): self
@@ -373,8 +358,7 @@ class Folder
373358 /**
374359 * Initialize the media model.
375360 *
376 * @param int $id
377 *
361 * @param int $id
378362 * @return Meema\MeemaClient\Models\Media
379363 */
380364 public function media($id = null): Media
@@ -387,8 +371,7 @@ class Folder
387371 /**
388372 * Initialize the tags model.
389373 *
390 * @param int $id
391 *
374 * @param int $id
392375 * @return Meema\MeemaClient\Models\Tag
393376 */
394377 public function tags($id = null): Tag
src/Models/Media.phpmodified+21-38
formatting only · 8 hidden lines
Changes to src/Models/Media.php
@@ -30,7 +30,7 @@ class Media formatting only
3030 /**
3131 * Construct media model.
3232 *
33 * @param Meema\MeemaClient\Client $client
33 * @param Meema\MeemaClient\Client $client
3434 */
3535 public function __construct(Client $client)
3636 {
Changes to src/Models/Media.php
@@ -50,8 +50,7 @@ class Media
5050 /**
5151 * Get specific media.
5252 *
53 * @param array $ids
54 *
53 * @param array $ids
5554 * @return \Illuminate\Support\Collection|array
5655 *
5756 * @throws InvalidFormatException
@@ -82,8 +81,7 @@ class Media
8281 /**
8382 * Search for specific media.
8483 *
85 * @param string $query
86 *
84 * @param string $query
8785 * @return \Illuminate\Support\Collection|array
8886 */
8987 public function search($query)
@@ -96,8 +94,7 @@ class Media
9694 /**
9795 * Get specific media.
9896 *
99 * @param int $id
100 *
97 * @param int $id
10198 * @return array
10299 *
103100 * @throws InvalidFormatException
@@ -116,8 +113,7 @@ class Media
116113 /**
117114 * Create media.
118115 *
119 * @param string $name
120 *
116 * @param string $name
121117 * @return array
122118 */
123119 public function create($name)
@@ -130,9 +126,8 @@ class Media
130126 /**
131127 * Update media.
132128 *
133 * @param int $id
134 * @param string $name
135 *
129 * @param int $id
130 * @param string $name
136131 * @return array
137132 *
138133 * @throws InvalidFormatException
@@ -151,8 +146,7 @@ class Media
151146 /**
152147 * Delete a media.
153148 *
154 * @param array $ids
155 *
149 * @param array $ids
156150 * @return null
157151 *
158152 * @throws InvalidFormatException
@@ -180,8 +174,7 @@ class Media
180174 /**
181175 * Archive a media.
182176 *
183 * @param array $ids
184 *
177 * @param array $ids
185178 * @return array
186179 *
187180 * @throws InvalidFormatException
@@ -209,8 +202,7 @@ class Media
209202 /**
210203 * Unarchive a media.
211204 *
212 * @param array $ids
213 *
205 * @param array $ids
214206 * @return array
215207 *
216208 * @throws InvalidFormatException
@@ -238,8 +230,7 @@ class Media
238230 /**
239231 * Make a media private.
240232 *
241 * @param array $ids
242 *
233 * @param array $ids
243234 * @return array
244235 *
245236 * @throws InvalidFormatException
@@ -267,8 +258,7 @@ class Media
267258 /**
268259 * Make a media public.
269260 *
270 * @param array $ids
271 *
261 * @param array $ids
272262 * @return array
273263 *
274264 * @throws InvalidFormatException
@@ -296,8 +286,7 @@ class Media
296286 /**
297287 * Duplicate a media.
298288 *
299 * @param array $ids
300 *
289 * @param array $ids
301290 * @return array
302291 *
303292 * @throws InvalidFormatException
@@ -349,8 +338,7 @@ class Media
349338 /**
350339 * Fetch the media for the folder.
351340 *
352 * @param Meema\MeemaClient\Models\Folder $folder
353 *
341 * @param Meema\MeemaClient\Models\Folder $folder
354342 * @return self
355343 */
356344 public function setFolder($folder): self
@@ -363,8 +351,7 @@ class Media
363351 /**
364352 * Initialize media model.
365353 *
366 * @param Meema\MeemaClient\Models\Tag $tag
367 *
354 * @param Meema\MeemaClient\Models\Tag $tag
368355 * @return self
369356 */
370357 public function setTag($tag): self
@@ -387,8 +374,7 @@ class Media
387374 /**
388375 * Fetch the media for the folder.
389376 *
390 * @param int $id
391 *
377 * @param int $id
392378 * @return array
393379 */
394380 protected function fetchMediaForFolder($id)
@@ -399,8 +385,7 @@ class Media
399385 /**
400386 * Fetch the media for tags.
401387 *
402 * @param int $id
403 *
388 * @param int $id
404389 * @return array
405390 */
406391 protected function fetchMediaForTag($id)
@@ -435,9 +420,8 @@ class Media
435420 /**
436421 * Associate tag to a media.
437422 *
438 * @param int $id
439 * @param array $tag
440 *
423 * @param int $id
424 * @param array $tag
441425 * @return array
442426 */
443427 public function associateTag($id, $tag)
@@ -448,9 +432,8 @@ class Media
448432 /**
449433 * Disassociate tag from a media.
450434 *
451 * @param int $id
452 * @param array $tag
453 *
435 * @param int $id
436 * @param array $tag
454437 * @return array
455438 */
456439 public function disassociateTag($id, $tag)
src/Models/Storage.phpmodified+14-26
formatting only · 8 hidden lines
Changes to src/Models/Storage.php
@@ -14,7 +14,7 @@ class Storage formatting only
1414 /**
1515 * Construct storage model.
1616 *
17 * @param Meema\MeemaClient\Client $client
17 * @param Meema\MeemaClient\Client $client
1818 */
1919 public function __construct(Client $client)
2020 {
Changes to src/Models/Storage.php
@@ -24,8 +24,7 @@ class Storage
2424 /**
2525 * Upload a media file.
2626 *
27 * @param string $path
28 *
27 * @param string $path
2928 * @return array
3029 */
3130 public function upload($path, $contents = null, $config = [])
@@ -36,9 +35,8 @@ class Storage
3635 /**
3736 * Set the visibility for a file.
3837 *
39 * @param string $path
40 * @param string $visibility
41 *
38 * @param string $path
39 * @param string $visibility
4240 * @return array|false file meta data
4341 */
4442 public function setVisibility($path, $visibility)
@@ -49,8 +47,7 @@ class Storage
4947 /**
5048 * Check whether a file exists.
5149 *
52 * @param string $path
53 *
50 * @param string $path
5451 * @return bool
5552 */
5653 public function has($path)
@@ -63,8 +60,7 @@ class Storage
6360 /**
6461 * Get all the meta data of a file or directory.
6562 *
66 * @param string $path
67 *
63 * @param string $path
6864 * @return false|array
6965 */
7066 public function getMetadata($path)
@@ -75,8 +71,7 @@ class Storage
7571 /**
7672 * Destroy the file in storage.
7773 *
78 * @param string $path
79 *
74 * @param string $path
8075 * @return array
8176 */
8277 public function delete($path)
@@ -87,8 +82,7 @@ class Storage
8782 /**
8883 * Copy the file in storage.
8984 *
90 * @param string $path
91 *
85 * @param string $path
9286 * @return array
9387 */
9488 public function copy($path, $newpath)
@@ -99,8 +93,7 @@ class Storage
9993 /**
10094 * Read a file in storage.
10195 *
102 * @param string $path
103 *
96 * @param string $path
10497 * @return array
10598 */
10699 public function read($path)
@@ -111,8 +104,7 @@ class Storage
111104 /**
112105 * Read the stream of a file in storage.
113106 *
114 * @param string $path
115 *
107 * @param string $path
116108 * @return array
117109 */
118110 public function readStream($path)
@@ -123,8 +115,7 @@ class Storage
123115 /**
124116 * List contents of directory.
125117 *
126 * @param string $path
127 *
118 * @param string $path
128119 * @return array
129120 */
130121 public function listContents($directory, $recursive = false)
@@ -135,8 +126,7 @@ class Storage
135126 /**
136127 * Rename the file in storage.
137128 *
138 * @param string $path
139 *
129 * @param string $path
140130 * @return array
141131 */
142132 public function rename($path, $newpath)
@@ -147,8 +137,7 @@ class Storage
147137 /**
148138 * Destroy the directory in storage.
149139 *
150 * @param string $directory
151 *
140 * @param string $directory
152141 * @return array
153142 */
154143 public function deleteDirectory($directory)
@@ -159,8 +148,7 @@ class Storage
159148 /**
160149 * Create a directory in storage.
161150 *
162 * @param string $directory
163 *
151 * @param string $directory
164152 * @return array
165153 */
166154 public function makeDirectory($directory)
src/Models/Tag.phpmodified+24-42
formatting only · 8 hidden lines
Changes to src/Models/Tag.php
@@ -29,7 +29,7 @@ class Tag formatting only
2929 /**
3030 * Construct Folder model.
3131 *
32 * @param Meema\MeemaClient\Client $client
32 * @param Meema\MeemaClient\Client $client
3333 */
3434 public function __construct(Client $client)
3535 {
Changes to src/Models/Tag.php
@@ -49,8 +49,7 @@ class Tag
4949 /**
5050 * Get specific tags.
5151 *
52 * @param array $ids
53 *
52 * @param array $ids
5453 * @return \Illuminate\Support\Collection|array
5554 */
5655 public function get($ids = null)
@@ -79,8 +78,7 @@ class Tag
7978 /**
8079 * Get specific tags.
8180 *
82 * @param int $id
83 *
81 * @param int $id
8482 * @return Response
8583 */
8684 public function find($id): Response
@@ -97,9 +95,8 @@ class Tag
9795 /**
9896 * Update a tag color.
9997 *
100 * @param int $id
101 * @param string $color
102 *
98 * @param int $id
99 * @param string $color
103100 * @return array
104101 */
105102 public function update($id, $color)
@@ -119,8 +116,7 @@ class Tag
119116 /**
120117 * Delete tags.
121118 *
122 * @param array $ids
123 *
119 * @param array $ids
124120 * @return Response
125121 */
126122 public function delete($ids)
@@ -146,8 +142,7 @@ class Tag
146142 /**
147143 * Associate tags to a model.
148144 *
149 * @param array $tag
150 *
145 * @param array $tag
151146 * @return array
152147 */
153148 public function associate($tag)
@@ -158,8 +153,7 @@ class Tag
158153 /**
159154 * Associate tags to media.
160155 *
161 * @param array $tag
162 *
156 * @param array $tag
163157 * @return array
164158 */
165159 public function disassociate($tag)
@@ -170,8 +164,7 @@ class Tag
170164 /**
171165 * Initialize the media model.
172166 *
173 * @param int $id
174 *
167 * @param int $id
175168 * @return Meema\MeemaClient\Models\Media
176169 */
177170 public function media($id = null): Media
@@ -184,8 +177,7 @@ class Tag
184177 /**
185178 * Initialize the folder model.
186179 *
187 * @param int $id
188 *
180 * @param int $id
189181 * @return Meema\MeemaClient\Models\Folder
190182 */
191183 public function folders($id = null): Folder
@@ -198,8 +190,7 @@ class Tag
198190 /**
199191 * Fetch the tags for media.
200192 *
201 * @param int $id
202 *
193 * @param int $id
203194 * @return array
204195 */
205196 protected function fetchTagsForMedia($id)
@@ -210,8 +201,7 @@ class Tag
210201 /**
211202 * Fetch the tags for folders.
212203 *
213 * @param int $id
214 *
204 * @param int $id
215205 * @return array
216206 */
217207 protected function fetchTagsForFolder($id)
@@ -222,8 +212,7 @@ class Tag
222212 /**
223213 * Initialize media model.
224214 *
225 * @param Meema\MeemaClient\Models\Folder $folder
226 *
215 * @param Meema\MeemaClient\Models\Folder $folder
227216 * @return self
228217 */
229218 public function setFolder($folder): self
@@ -236,8 +225,7 @@ class Tag
236225 /**
237226 * Initialize media model.
238227 *
239 * @param Meema\MeemaClient\Models\Media $media
240 *
228 * @param Meema\MeemaClient\Models\Media $media
241229 * @return self
242230 */
243231 public function setMedia($media): self
@@ -283,8 +271,7 @@ class Tag
283271 /**
284272 * Associate tags to a folder or media.
285273 *
286 * @param array $tag
287 *
274 * @param array $tag
288275 * @return array
289276 */
290277 protected function associateToModel($tag)
@@ -308,8 +295,7 @@ class Tag
308295 /**
309296 * Associate tags to a folder or media.
310297 *
311 * @param array $tag
312 *
298 * @param array $tag
313299 * @return array
314300 */
315301 protected function disassociateToModel($tag)
@@ -333,9 +319,8 @@ class Tag
333319 /**
334320 * Associate tag to a folder.
335321 *
336 * @param int $id
337 * @param array $tag
338 *
322 * @param int $id
323 * @param array $tag
339324 * @return array
340325 */
341326 protected function associateTagToFolder($id, $tag)
@@ -346,9 +331,8 @@ class Tag
346331 /**
347332 * Disassociate tag from a folder.
348333 *
349 * @param int $id
350 * @param array $tag
351 *
334 * @param int $id
335 * @param array $tag
352336 * @return array
353337 */
354338 protected function disassociateTagFromFolder($id, $tag)
@@ -359,9 +343,8 @@ class Tag
359343 /**
360344 * Associate tag to a media.
361345 *
362 * @param int $id
363 * @param array $tag
364 *
346 * @param int $id
347 * @param array $tag
365348 * @return array
366349 */
367350 protected function associateTagToMedia($id, $tag)
@@ -372,9 +355,8 @@ class Tag
372355 /**
373356 * Disassociate tag from a media.
374357 *
375 * @param int $id
376 * @param array $tag
377 *
358 * @param int $id
359 * @param array $tag
378360 * @return array
379361 */
380362 protected function disassociateTagFromMedia($id, $tag)
src/Models/Team.phpmodified+9-15
formatting only · 10 hidden lines
Changes to src/Models/Team.php
@@ -15,8 +15,8 @@ class Team formatting only
1515 /**
1616 * Construct Folder model.
1717 *
18 * @param Meema\MeemaClient\Client $client
19 * @param int $teamId
18 * @param Meema\MeemaClient\Client $client
19 * @param int $teamId
2020 */
2121 public function __construct(Client $client)
2222 {
Changes to src/Models/Team.php
@@ -36,8 +36,7 @@ class Team
3636 /**
3737 * Get specific teams.
3838 *
39 * @param int $id
40 *
39 * @param int $id
4140 * @return array
4241 */
4342 public function get($id = null)
@@ -54,8 +53,7 @@ class Team
5453 /**
5554 * Get specific teams.
5655 *
57 * @param int $id
58 *
56 * @param int $id
5957 * @return array
6058 */
6159 public function find($id)
@@ -68,8 +66,7 @@ class Team
6866 /**
6967 * Create folder.
7068 *
71 * @param string $name
72 *
69 * @param string $name
7370 * @return array
7471 */
7572 public function create($data)
@@ -80,9 +77,8 @@ class Team
8077 /**
8178 * Update folder.
8279 *
83 * @param string $name
84 * @param int $id
85 *
80 * @param string $name
81 * @param int $id
8682 * @return array
8783 */
8884 public function update($id, $name)
@@ -95,8 +91,7 @@ class Team
9591 /**
9692 * Delete a folder.
9793 *
98 * @param int $id
99 *
94 * @param int $id
10095 * @return null
10196 */
10297 public function delete($id)
@@ -107,8 +102,7 @@ class Team
107102 /**
108103 * Delete a folder.
109104 *
110 * @param int $id
111 *
105 * @param int $id
112106 * @return null
113107 */
114108 public function toggleMediaRecognition($id, $status)
src/Response/Response.phpmodified+1-3
Changes to src/Response/Response.php
@@ -30,7 +30,6 @@ class Response
3030 *
3131 * @param string $method
3232 * @param array $parameters
33 *
3433 * @return mixed
3534 */
3635 public function __call($method, $parameters)
@@ -73,8 +72,7 @@ class Response
7372 /**
7473 * Get response content.
7574 *
76 * @param mixed $key
77 *
75 * @param mixed $key
7876 * @return array
7977 */
8078 public function getContent($key = null)
src/Traits/ForwardsCalls.phpmodifiedformatting only+1-1
Changes to src/Traits/ForwardsCalls.php
@@ -21,7 +21,7 @@ trait ForwardsCalls
2121 {
2222 try {
2323 return $object->{$method}(...$parameters);
24 } catch (Error | BadMethodCallException $e) {
24 } catch (Error|BadMethodCallException $e) {
2525 $pattern = '~^Call to undefined method (?P<class>[^:]+)::(?P<method>[^\(]+)\(\)$~';
2626
2727 if (! preg_match($pattern, $e->getMessage(), $matches)) {
src/Traits/ValidsUuid.phpmodified+1-2
Changes to src/Traits/ValidsUuid.php
@@ -7,8 +7,7 @@ trait ValidsUuid
77 /**
88 * Check if a given string is a valid UUID.
99 *
10 * @param string $uuid
11 *
10 * @param string $uuid
1211 * @return bool
1312 */
1413 public function isValidUuid($uuid)