PluginProbe
WPIDE – File Manager & Code Editor / 3.5.9
WPIDE – File Manager & Code Editor v3.5.9
3.5.9 3.5.8 3.5.7 2.0.14 2.0.15 2.0.16 2.0.2 2.0.4 2.0.5 2.0.6 2.0.7 2.0.8 2.0.9 2.1 2.2 2.3 2.3.1 2.3.2 2.4.0 2.5 2.6 3.0 3.1 3.2 3.3 All 55 releases
← All changes | vendor/php-di/invoker/src/InvokerInterface.php +4 -8 3.23.5.9 View file →
@@ -1,5 +1,5 @@
1 -<?php
1 +<?php declare(strict_types=1);
2 2
3 3 namespace Invoker;
4 4
5 5 use Invoker\Exception\InvocationException;
@@ -7,10 +7,8 @@
7 7 use Invoker\Exception\NotEnoughParametersException;
8 8
9 9 /**
10 10 * Invoke a callable.
11 - *
12 - * @author Matthieu Napoli <matthieu@mnapoli.fr>
13 11 */
14 12 interface InvokerInterface
15 13 {
16 14 /**
@@ -15,15 +13,13 @@
15 13 {
16 14 /**
17 15 * Call the given function using the given parameters.
18 16 *
19 - * @param callable $callable Function to call.
20 - * @param array $parameters Parameters to use.
21 - *
17 + * @param callable|array|string $callable Function to call.
18 + * @param array $parameters Parameters to use.
22 19 * @return mixed Result of the function.
23 - *
24 20 * @throws InvocationException Base exception class for all the sub-exceptions below.
25 21 * @throws NotCallableException
26 22 * @throws NotEnoughParametersException
27 23 */
28 - public function call($callable, array $parameters = array());
24 + public function call($callable, array $parameters = []);
29 25 }