Debian Codegraph @

vendor/wikimedia/idle-dom/src/OnErrorEventHandlerNonNull.php

raw
1 <?php
2
3 // AUTOMATICALLY GENERATED. DO NOT EDIT.
4 // Use `composer build` to regenerate.
5
6 namespace Wikimedia\IDLeDOM;
7
8 /**
9 * OnErrorEventHandlerNonNull
10 *
11 * @see https://dom.spec.whatwg.org/#callbackdef-onerroreventhandlernonnull
12 *
13 * @phan-forbid-undeclared-magic-properties
14 */
15 interface OnErrorEventHandlerNonNull {
16 /**
17 * @param Event|string $event
18 * @param ?string $source
19 * @param ?int $lineno
20 * @param ?int $colno
21 * @param mixed|null $error
22 * @return mixed|null
23 */
24 public function invoke( /* mixed */ $event, ?string $source = null, ?int $lineno = null, ?int $colno = null, /* any */ $error = null );
25 }