Skip to content

Commit b296b6b

Browse files
committed
Correcting with parameter typehints
Signed-off-by: Chris Hallgren <challgren@gmail.com>
1 parent 3d2a006 commit b296b6b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Services/DataTable.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -681,11 +681,11 @@ public function addScopes(array $scopes): static
681681
/**
682682
* Set a custom class attribute.
683683
*
684-
* @param array|string $key
685-
* @param array|string|null $value
684+
* @param array|string $key
685+
* @param mixed|null $value
686686
* @return $this
687687
*/
688-
public function with(array|string $key, array|string $value = null): static
688+
public function with(array|string $key, mixed $value = null): static
689689
{
690690
if (is_array($key)) {
691691
$this->attributes = array_merge($this->attributes, $key);

0 commit comments

Comments
 (0)