We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 63648c5 + b296b6b commit 98fe2fdCopy full SHA for 98fe2fd
src/Services/DataTable.php
@@ -681,11 +681,11 @@ public function addScopes(array $scopes): static
681
/**
682
* Set a custom class attribute.
683
*
684
- * @param array|string $key
685
- * @param array|string|null $value
+ * @param array|string $key
+ * @param mixed|null $value
686
* @return $this
687
*/
688
- public function with(array|string $key, array|string $value = null): static
+ public function with(array|string $key, mixed $value = null): static
689
{
690
if (is_array($key)) {
691
$this->attributes = array_merge($this->attributes, $key);
0 commit comments