Skip to content

Commit 8f6ff62

Browse files
committed
fix: resolved PHP 7.4 incompatibility
1 parent 7025568 commit 8f6ff62

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

src/Providers/Models/DTO/ModelConfig.php

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,15 @@ public function getTools(): ?array
437437
return $this->tools;
438438
}
439439

440-
public function setCustomOption(string $key, mixed $value): void
440+
/**
441+
* Sets a single custom option.
442+
*
443+
* @since n.e.x.t
444+
*
445+
* @param string $key The option key.
446+
* @param mixed $value The option value.
447+
*/
448+
public function setCustomOption(string $key, $value): void
441449
{
442450
$this->customOptions[$key] = $value;
443451
}

0 commit comments

Comments
 (0)