From 08b2619870aefaeeaeafdb2d61f9078b0df86cc0 Mon Sep 17 00:00:00 2001 From: Savio Resende Date: Wed, 9 Oct 2024 19:34:34 -0500 Subject: [PATCH] Added bin for the composer package.5 --- composer.lock | 106 +++++++++++++++--------------- src/Data/Traits/DataBagHelper.php | 4 +- 2 files changed, 55 insertions(+), 55 deletions(-) diff --git a/composer.lock b/composer.lock index 604b026..8c63261 100644 --- a/composer.lock +++ b/composer.lock @@ -1440,16 +1440,16 @@ }, { "name": "dshafik/bag", - "version": "1.2.2", + "version": "1.3.0", "source": { "type": "git", "url": "/~https://github.com/dshafik/bag.git", - "reference": "5622dd90c12f95a3ad8d9c22ec2cb1af81575b79" + "reference": "0054e5bd29c19581179bb033b5f0b7eaa18d269c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/dshafik/bag/zipball/5622dd90c12f95a3ad8d9c22ec2cb1af81575b79", - "reference": "5622dd90c12f95a3ad8d9c22ec2cb1af81575b79", + "url": "https://api.github.com/repos/dshafik/bag/zipball/0054e5bd29c19581179bb033b5f0b7eaa18d269c", + "reference": "0054e5bd29c19581179bb033b5f0b7eaa18d269c", "shasum": "" }, "require": { @@ -1504,9 +1504,9 @@ "description": "A comprehensive immutable value objects implementation", "support": { "issues": "/~https://github.com/dshafik/bag/issues", - "source": "/~https://github.com/dshafik/bag/tree/1.2.2" + "source": "/~https://github.com/dshafik/bag/tree/1.3.0" }, - "time": "2024-09-26T06:57:25+00:00" + "time": "2024-09-30T04:43:24+00:00" }, { "name": "egulias/email-validator", @@ -2098,16 +2098,16 @@ }, { "name": "illuminate/collections", - "version": "v11.25.0", + "version": "v11.27.2", "source": { "type": "git", "url": "/~https://github.com/illuminate/collections.git", - "reference": "465044f988f9a07c901388beeb15201d711387aa" + "reference": "4d333ea19a27230b424b9af56f34cd658b5bbce2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/illuminate/collections/zipball/465044f988f9a07c901388beeb15201d711387aa", - "reference": "465044f988f9a07c901388beeb15201d711387aa", + "url": "https://api.github.com/repos/illuminate/collections/zipball/4d333ea19a27230b424b9af56f34cd658b5bbce2", + "reference": "4d333ea19a27230b424b9af56f34cd658b5bbce2", "shasum": "" }, "require": { @@ -2149,11 +2149,11 @@ "issues": "/~https://github.com/laravel/framework/issues", "source": "/~https://github.com/laravel/framework" }, - "time": "2024-09-25T15:08:32+00:00" + "time": "2024-09-27T14:54:48+00:00" }, { "name": "illuminate/conditionable", - "version": "v11.25.0", + "version": "v11.27.2", "source": { "type": "git", "url": "/~https://github.com/illuminate/conditionable.git", @@ -2199,16 +2199,16 @@ }, { "name": "illuminate/container", - "version": "v11.25.0", + "version": "v11.27.2", "source": { "type": "git", "url": "/~https://github.com/illuminate/container.git", - "reference": "d6aca7c315d68cb6807c139facd7ea134b4f5104" + "reference": "bc49d144a20b0d432e1ac812c9e056594b6c6480" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/illuminate/container/zipball/d6aca7c315d68cb6807c139facd7ea134b4f5104", - "reference": "d6aca7c315d68cb6807c139facd7ea134b4f5104", + "url": "https://api.github.com/repos/illuminate/container/zipball/bc49d144a20b0d432e1ac812c9e056594b6c6480", + "reference": "bc49d144a20b0d432e1ac812c9e056594b6c6480", "shasum": "" }, "require": { @@ -2246,11 +2246,11 @@ "issues": "/~https://github.com/laravel/framework/issues", "source": "/~https://github.com/laravel/framework" }, - "time": "2024-09-20T12:51:05+00:00" + "time": "2024-10-08T13:34:53+00:00" }, { "name": "illuminate/contracts", - "version": "v11.25.0", + "version": "v11.27.2", "source": { "type": "git", "url": "/~https://github.com/illuminate/contracts.git", @@ -2298,16 +2298,16 @@ }, { "name": "illuminate/database", - "version": "v11.25.0", + "version": "v11.27.2", "source": { "type": "git", "url": "/~https://github.com/illuminate/database.git", - "reference": "9f5ea42ec518d983d3bd45151d6c414c62ab4e79" + "reference": "03036fa71b47b54017047db8b5660b10cea002d8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/illuminate/database/zipball/9f5ea42ec518d983d3bd45151d6c414c62ab4e79", - "reference": "9f5ea42ec518d983d3bd45151d6c414c62ab4e79", + "url": "https://api.github.com/repos/illuminate/database/zipball/03036fa71b47b54017047db8b5660b10cea002d8", + "reference": "03036fa71b47b54017047db8b5660b10cea002d8", "shasum": "" }, "require": { @@ -2363,11 +2363,11 @@ "issues": "/~https://github.com/laravel/framework/issues", "source": "/~https://github.com/laravel/framework" }, - "time": "2024-09-25T15:46:33+00:00" + "time": "2024-10-03T17:48:01+00:00" }, { "name": "illuminate/filesystem", - "version": "v11.25.0", + "version": "v11.27.2", "source": { "type": "git", "url": "/~https://github.com/illuminate/filesystem.git", @@ -2434,7 +2434,7 @@ }, { "name": "illuminate/macroable", - "version": "v11.25.0", + "version": "v11.27.2", "source": { "type": "git", "url": "/~https://github.com/illuminate/macroable.git", @@ -2480,16 +2480,16 @@ }, { "name": "illuminate/support", - "version": "v11.25.0", + "version": "v11.27.2", "source": { "type": "git", "url": "/~https://github.com/illuminate/support.git", - "reference": "ead1796b74be915705e66a695fce8d3cd4bb9034" + "reference": "a567431e4820363d0bc28bdf14914ab16a2e63ef" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/illuminate/support/zipball/ead1796b74be915705e66a695fce8d3cd4bb9034", - "reference": "ead1796b74be915705e66a695fce8d3cd4bb9034", + "url": "https://api.github.com/repos/illuminate/support/zipball/a567431e4820363d0bc28bdf14914ab16a2e63ef", + "reference": "a567431e4820363d0bc28bdf14914ab16a2e63ef", "shasum": "" }, "require": { @@ -2552,11 +2552,11 @@ "issues": "/~https://github.com/laravel/framework/issues", "source": "/~https://github.com/laravel/framework" }, - "time": "2024-09-25T07:16:58+00:00" + "time": "2024-10-08T18:54:07+00:00" }, { "name": "illuminate/translation", - "version": "v11.25.0", + "version": "v11.27.2", "source": { "type": "git", "url": "/~https://github.com/illuminate/translation.git", @@ -2607,16 +2607,16 @@ }, { "name": "illuminate/validation", - "version": "v11.25.0", + "version": "v11.27.2", "source": { "type": "git", "url": "/~https://github.com/illuminate/validation.git", - "reference": "086c80086052cb90050bea3af30f16339f0a8b01" + "reference": "87170978286fcd8d8f89b322933fbe4e870710fb" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/illuminate/validation/zipball/086c80086052cb90050bea3af30f16339f0a8b01", - "reference": "086c80086052cb90050bea3af30f16339f0a8b01", + "url": "https://api.github.com/repos/illuminate/validation/zipball/87170978286fcd8d8f89b322933fbe4e870710fb", + "reference": "87170978286fcd8d8f89b322933fbe4e870710fb", "shasum": "" }, "require": { @@ -2664,7 +2664,7 @@ "issues": "/~https://github.com/laravel/framework/issues", "source": "/~https://github.com/laravel/framework" }, - "time": "2024-09-11T21:41:43+00:00" + "time": "2024-10-08T14:54:23+00:00" }, { "name": "jacked-php/lite-connect", @@ -7674,16 +7674,16 @@ }, { "name": "nikic/php-parser", - "version": "v5.3.0", + "version": "v5.3.1", "source": { "type": "git", "url": "/~https://github.com/nikic/PHP-Parser.git", - "reference": "3abf7425cd284141dc5d8d14a9ee444de3345d1a" + "reference": "8eea230464783aa9671db8eea6f8c6ac5285794b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/3abf7425cd284141dc5d8d14a9ee444de3345d1a", - "reference": "3abf7425cd284141dc5d8d14a9ee444de3345d1a", + "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/8eea230464783aa9671db8eea6f8c6ac5285794b", + "reference": "8eea230464783aa9671db8eea6f8c6ac5285794b", "shasum": "" }, "require": { @@ -7726,9 +7726,9 @@ ], "support": { "issues": "/~https://github.com/nikic/PHP-Parser/issues", - "source": "/~https://github.com/nikic/PHP-Parser/tree/v5.3.0" + "source": "/~https://github.com/nikic/PHP-Parser/tree/v5.3.1" }, - "time": "2024-09-29T13:56:26+00:00" + "time": "2024-10-08T18:51:32+00:00" }, { "name": "openswoole/ide-helper", @@ -7889,16 +7889,16 @@ }, { "name": "phpstan/phpstan", - "version": "1.12.5", + "version": "1.12.6", "source": { "type": "git", "url": "/~https://github.com/phpstan/phpstan.git", - "reference": "7e6c6cb7cecb0a6254009a1a8a7d54ec99812b17" + "reference": "dc4d2f145a88ea7141ae698effd64d9df46527ae" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/7e6c6cb7cecb0a6254009a1a8a7d54ec99812b17", - "reference": "7e6c6cb7cecb0a6254009a1a8a7d54ec99812b17", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/dc4d2f145a88ea7141ae698effd64d9df46527ae", + "reference": "dc4d2f145a88ea7141ae698effd64d9df46527ae", "shasum": "" }, "require": { @@ -7943,7 +7943,7 @@ "type": "github" } ], - "time": "2024-09-26T12:45:22+00:00" + "time": "2024-10-06T15:03:59+00:00" }, { "name": "phpunit/php-code-coverage", @@ -8268,16 +8268,16 @@ }, { "name": "phpunit/phpunit", - "version": "10.5.35", + "version": "10.5.36", "source": { "type": "git", "url": "/~https://github.com/sebastianbergmann/phpunit.git", - "reference": "7ac8b4e63f456046dcb4c9787da9382831a1874b" + "reference": "aa0a8ce701ea7ee314b0dfaa8970dc94f3f8c870" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/7ac8b4e63f456046dcb4c9787da9382831a1874b", - "reference": "7ac8b4e63f456046dcb4c9787da9382831a1874b", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/aa0a8ce701ea7ee314b0dfaa8970dc94f3f8c870", + "reference": "aa0a8ce701ea7ee314b0dfaa8970dc94f3f8c870", "shasum": "" }, "require": { @@ -8349,7 +8349,7 @@ "support": { "issues": "/~https://github.com/sebastianbergmann/phpunit/issues", "security": "/~https://github.com/sebastianbergmann/phpunit/security/policy", - "source": "/~https://github.com/sebastianbergmann/phpunit/tree/10.5.35" + "source": "/~https://github.com/sebastianbergmann/phpunit/tree/10.5.36" }, "funding": [ { @@ -8365,7 +8365,7 @@ "type": "tidelift" } ], - "time": "2024-09-19T10:52:21+00:00" + "time": "2024-10-08T15:36:51+00:00" }, { "name": "sebastian/cli-parser", diff --git a/src/Data/Traits/DataBagHelper.php b/src/Data/Traits/DataBagHelper.php index 1a0ba22..17e7304 100644 --- a/src/Data/Traits/DataBagHelper.php +++ b/src/Data/Traits/DataBagHelper.php @@ -6,7 +6,7 @@ trait DataBagHelper { - public static function from(mixed $values): Bag // static + public static function from(mixed ...$values): Bag { /** @var Bag $data */ $data = parent::from($values); @@ -14,7 +14,7 @@ public static function from(mixed $values): Bag // static return $data; } - public function with(mixed ...$values): Bag // static + public function with(mixed ...$values): Bag { /** @var Bag $data */ $data = parent::with(...$values);