Laravel Dispatcher and payloads

Code
<?php

use Illuminate\Events\Dispatcher;

$dispatcher = new Dispatcher();

$eventListener = function (int $integerstring $string) {
    
dump($integer$string);
    echo 
'Hello Laravel' PHP_EOL;
};

// Add event listener
$dispatcher->listen('callme'$eventListener);

// fire event
$payload = [5'value'];
$dispatcher->dispatch('callme'$payload);
Result
^ 5

^ "value"

Hello Laravel
Used Versions
PHP 8.2, Laminas MVC 3.2, Symfony 5.2, Laravel 8.28, PHPUnit 9.5, Doctrine ORM 2.8