8000 fix phpdoc on aliases property in route attribute · symfony/symfony@51d50e7 · GitHub
[go: up one dir, main page]

Skip to content

Commit 51d50e7

Browse files
committed
fix phpdoc on aliases property in route attribute
1 parent c750a97 commit 51d50e7

File tree

1 file changed

+4
-1
lines changed
  • src/Symfony/Component/Routing/Attribute

1 file changed

+4
-1
lines changed

src/Symfony/Component/Routing/Attribute/Route.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,13 +208,16 @@ public function getEnv(): ?string
208208
return $this->env;
209209
}
210210 8000

211+
/**
212+
* @return string[]
213+
*/
211214
public function getAliases(): array
212215
{
213216
return $this->aliases;
214217
}
215218

216219
/**
217-
* @param list<string>|string $aliases
220+
* @param string[]|string $aliases
218221
*
219222
* @throws InvalidArgumentException if the "alias" argument is not a string or an array of strings
220223
*/

0 commit comments

Comments
 (0)
0