Skip to content

Commit 6262c12

Browse files
Merge branch '4.4'
* 4.4: [Debug] Improve UPGRADE files remove wrongly added legacy group from test consistently throw NotSupportException [HttpKernel] Clarify error handler restoring process again [HttpClient] Remove CURLOPT_CONNECTTIMEOUT_MS curl opt add missing conflict rule [Intl] fix nullable phpdocs and useless method visibility of internal class remove some more useless phpdocs Resilience against file_get_contents() race conditions. Turned return type annotations of private methods into php return types.
2 parents 393a7ae + f9935a8 commit 6262c12

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

Loader/XmlFileLoader.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -253,11 +253,9 @@ protected function loadFile($file)
253253
/**
254254
* Parses the config elements (default, requirement, option).
255255
*
256-
* @return array An array with the defaults as first item, requirements as second and options as third
257-
*
258256
* @throws \InvalidArgumentException When the XML is invalid
259257
*/
260-
private function parseConfigs(\DOMElement $node, string $path)
258+
private function parseConfigs(\DOMElement $node, string $path): array
261259
{
262260
$defaults = [];
263261
$requirements = [];

Router.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -362,10 +362,8 @@ protected function getMatcherDumperInstance()
362362
/**
363363
* Provides the ConfigCache factory implementation, falling back to a
364364
* default implementation if necessary.
365-
*
366-
* @return ConfigCacheFactoryInterface
367365
*/
368-
private function getConfigCacheFactory()
366+
private function getConfigCacheFactory(): ConfigCacheFactoryInterface
369367
{
370368
if (null === $this->configCacheFactory) {
371369
$this->configCacheFactory = new ConfigCacheFactory($this->options['debug']);

0 commit comments

Comments
 (0)