19 lines
282 B
PHP
19 lines
282 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Webauthn\Event;
|
|
|
|
use Psr\EventDispatcher\EventDispatcherInterface;
|
|
|
|
/**
|
|
* @final
|
|
*/
|
|
class NullEventDispatcher implements EventDispatcherInterface
|
|
{
|
|
public function dispatch(object $event): object
|
|
{
|
|
return $event;
|
|
}
|
|
}
|