Skip to content

Commit

Permalink
Added bin for the composer package.5
Browse files Browse the repository at this point in the history
  • Loading branch information
lotharthesavior committed Oct 10, 2024
1 parent 961b413 commit 08b2619
Show file tree
Hide file tree
Showing 2 changed files with 55 additions and 55 deletions.
106 changes: 53 additions & 53 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/Data/Traits/DataBagHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@

trait DataBagHelper
{
public static function from(mixed $values): Bag // static
public static function from(mixed ...$values): Bag
{
/** @var Bag $data */
$data = parent::from($values);

return $data;
}

public function with(mixed ...$values): Bag // static
public function with(mixed ...$values): Bag
{
/** @var Bag $data */
$data = parent::with(...$values);
Expand Down

0 comments on commit 08b2619

Please sign in to comment.