Skip to content
This repository was archived by the owner on Feb 6, 2020. It is now read-only.

Commit 40e971d

Browse files
Jefersson Nathanweierophinney
authored andcommitted
Fix phpdoc types
Signed-off-by: Jefersson Nathan <[email protected]> Conflicts: src/ServiceManager.php
1 parent 41c3c4e commit 40e971d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/AbstractFactory/ReflectionBasedAbstractFactory.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ public function canCreate(ContainerInterface $container, $requestedName)
150150
private function resolveParameterWithoutConfigService(ContainerInterface $container, $requestedName)
151151
{
152152
/**
153-
* @param ReflectionClass $parameter
153+
* @param ReflectionParameter $parameter
154154
* @return mixed
155155
* @throws ServiceNotFoundException If type-hinted parameter cannot be
156156
* resolved to a service in the container.
@@ -173,7 +173,7 @@ private function resolveParameterWithoutConfigService(ContainerInterface $contai
173173
private function resolveParameterWithConfigService(ContainerInterface $container, $requestedName)
174174
{
175175
/**
176-
* @param ReflectionClass $parameter
176+
* @param ReflectionParameter $parameter
177177
* @return mixed
178178
* @throws ServiceNotFoundException If type-hinted parameter cannot be
179179
* resolved to a service in the container.
@@ -189,7 +189,7 @@ private function resolveParameterWithConfigService(ContainerInterface $container
189189
/**
190190
* Logic common to all parameter resolution.
191191
*
192-
* @param ReflectionClass $parameter
192+
* @param ReflectionParameter $parameter
193193
* @param ContainerInterface $container
194194
* @param string $requestedName
195195
* @return mixed

0 commit comments

Comments
 (0)