aboutsummaryrefslogtreecommitdiff
path: root/lib/ActionInterface.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ActionInterface.php')
-rw-r--r--lib/ActionInterface.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/ActionInterface.php b/lib/ActionInterface.php
index c0ddcf9f..d2e1c709 100644
--- a/lib/ActionInterface.php
+++ b/lib/ActionInterface.php
@@ -2,8 +2,5 @@
interface ActionInterface
{
- /**
- * @return string|Response
- */
- public function execute(Request $request);
+ public function __invoke(Request $request): Response;
}