From e3ad4a73d3c4f44229807141cd47d8e364981fee Mon Sep 17 00:00:00 2001 From: Phil Bennett Date: Wed, 20 Nov 2024 09:29:30 +0000 Subject: [PATCH] Docblock formatting --- src/Route.php | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/src/Route.php b/src/Route.php index b2d7c64..a613dad 100644 --- a/src/Route.php +++ b/src/Route.php @@ -70,7 +70,9 @@ public function getCallable(?ContainerInterface $container = null): callable return $callable; } - /** @return array|string */ + /** + * @return array|string + */ public function getMethod(): array|string { return $this->method; @@ -92,7 +94,9 @@ public function getPath(array $replacements = []): string return preg_replace(array_keys($toReplace), array_values($toReplace), $this->path); } - /** @return array */ + /** + * @return array + */ public function getVars(): array { return $this->vars; @@ -125,7 +129,9 @@ public function setParentGroup(RouteGroup $group): self return $this; } - /** @param array $vars */ + /** + * @param array $vars + */ public function setVars(array $vars): self { $this->vars = $vars;