Skip to content

Commit 72779bc

Browse files
Merge branch '5.0'
* 5.0: (24 commits) Removing unused variable Fixed #35084 Add missing use statement [HttpClient] fix scheduling pending NativeResponse do not overwrite variable value [Profiler] wording Use spaces correctly to display options in DebugCommand Add supported schemes doc blocks type X-Accel Nginx URL updated ticket-30197 [Validator] Add the missing translations for the Chinese (Taiwan) ("zh_TW") locale Fixed test added in #35022 Use locale_parse for computing fallback locales [Console] Fix filtering out identical alternatives when there is a command loader [String][UnicodeString] Remove unneeded flag in chunk regex pattern add note about HTTP status code change Migrate server:log command away from WebServerBundle [DependencyInjection][CheckTypeDeclarationsPass] Handle \Closure for callable [Security] Fix missing defaults for auto-migrating encoders bumped Symfony version to 5.0.3 updated VERSION for 5.0.2 ...
2 parents 2e883cc + b2e9add commit 72779bc

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

Exception/UnsupportedSchemeException.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@ class UnsupportedSchemeException extends LogicException
4040
],
4141
];
4242

43+
/**
44+
* @param string[] $supported
45+
*/
4346
public function __construct(Dsn $dsn, string $name = null, array $supported = [])
4447
{
4548
$provider = $dsn->getScheme();

Transport/AbstractTransportFactory.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,9 @@ public function supports(Dsn $dsn): bool
3939
return \in_array($dsn->getScheme(), $this->getSupportedSchemes());
4040
}
4141

42+
/**
43+
* @return string[]
44+
*/
4245
abstract protected function getSupportedSchemes(): array;
4346

4447
protected function getUser(Dsn $dsn): string

0 commit comments

Comments
 (0)