Skip to content

Commit 1732d62

Browse files
More return type fixes
1 parent a9e9512 commit 1732d62

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

Loader/YamlFileLoader.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313

1414
use Symfony\Component\DependencyInjection\Alias;
1515
use Symfony\Component\DependencyInjection\Argument\AbstractArgument;
16-
use Symfony\Component\DependencyInjection\Argument\ArgumentInterface;
1716
use Symfony\Component\DependencyInjection\Argument\BoundArgument;
1817
use Symfony\Component\DependencyInjection\Argument\IteratorArgument;
1918
use Symfony\Component\DependencyInjection\Argument\ServiceClosureArgument;
@@ -803,9 +802,7 @@ private function validate($content, string $file): ?array
803802
}
804803

805804
/**
806-
* Resolves services.
807-
*
808-
* @return array|string|Reference|ArgumentInterface
805+
* @return mixed
809806
*/
810807
private function resolveServices($value, string $file, bool $isParameter = false)
811808
{

Tests/Fixtures/includes/ProjectWithXsdExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
class ProjectWithXsdExtension extends ProjectExtension
44
{
5-
public function getXsdValidationBasePath()
5+
public function getXsdValidationBasePath(): string
66
{
77
return __DIR__.'/schema';
88
}

0 commit comments

Comments
 (0)