Skip to content

Commit e234ba2

Browse files
committed
- loose type for Argument::set() $index argument
1 parent d0da0ef commit e234ba2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

MutatorTrait.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<?php
1+
<?php declare(strict_types=1);
22

33
/*
44
* This file is part of the Koded package.
@@ -21,7 +21,7 @@ public function __set($index, $value)
2121
return $this->set($index, $value);
2222
}
2323

24-
public function set(string $index, mixed $value): static
24+
public function set(mixed $index, mixed $value): static
2525
{
2626
$this->storage[$index] = $value;
2727
return $this;

0 commit comments

Comments
 (0)