Skip to content

Commit

Permalink
Docblock formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
philipobenito committed Nov 20, 2024
1 parent 5004f22 commit e3ad4a7
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions src/Route.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,9 @@ public function getCallable(?ContainerInterface $container = null): callable
return $callable;
}

/** @return array<string>|string */
/**
* @return array<string>|string
*/
public function getMethod(): array|string
{
return $this->method;
Expand All @@ -92,7 +94,9 @@ public function getPath(array $replacements = []): string
return preg_replace(array_keys($toReplace), array_values($toReplace), $this->path);
}

/** @return array<string> */
/**
* @return array<string>
*/
public function getVars(): array
{
return $this->vars;
Expand Down Expand Up @@ -125,7 +129,9 @@ public function setParentGroup(RouteGroup $group): self
return $this;
}

/** @param array<string> $vars */
/**
* @param array<string> $vars
*/
public function setVars(array $vars): self
{
$this->vars = $vars;
Expand Down

0 comments on commit e3ad4a7

Please sign in to comment.