mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-05 19:42:38 +02:00
Update dependencies.
This commit is contained in:
parent
43c00721ca
commit
feb9ac315b
11243 changed files with 338413 additions and 11922 deletions
4
vendor/symfony/routing/RouteCompiler.php
vendored
4
vendor/symfony/routing/RouteCompiler.php
vendored
|
@ -155,7 +155,7 @@ class RouteCompiler implements RouteCompilerInterface
|
|||
|
||||
if ($isSeparator && $precedingText !== $precedingChar) {
|
||||
$tokens[] = ['text', substr($precedingText, 0, -\strlen($precedingChar))];
|
||||
} elseif (!$isSeparator && \strlen($precedingText) > 0) {
|
||||
} elseif (!$isSeparator && '' !== $precedingText) {
|
||||
$tokens[] = ['text', $precedingText];
|
||||
}
|
||||
|
||||
|
@ -292,8 +292,6 @@ class RouteCompiler implements RouteCompilerInterface
|
|||
* @param array $tokens The route tokens
|
||||
* @param int $index The index of the current token
|
||||
* @param int $firstOptional The index of the first optional token
|
||||
*
|
||||
* @return string The regexp pattern for a single token
|
||||
*/
|
||||
private static function computeRegexp(array $tokens, int $index, int $firstOptional): string
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue