Skip to content

Commit 962a325

Browse files
committed
fix(events): Fix typehint to mixed
1 parent c00f984 commit 962a325

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Html/Editor/HasEvents.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,11 +64,11 @@ public function __call($method, $parameters)
6464
* Add Editor event listener scripts.
6565
*
6666
* @param string $event
67-
* @param string $script
67+
* @param mixed $script
6868
* @return $this
6969
* @see https://editor.datatables.net/reference/event
7070
*/
71-
public function on(string $event, string $script): static
71+
public function on(string $event, mixed $script): static
7272
{
7373
$this->events[] = [
7474
'event' => $event,

0 commit comments

Comments
 (0)