Skip to content

Commit

Permalink
[DI] fix return type declarations
Browse files Browse the repository at this point in the history
  • Loading branch information
derrabus authored and nicolas-grekas committed Aug 26, 2019
1 parent 32f2bf5 commit bec0a6f
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Definition.php
Original file line number Diff line number Diff line change
Expand Up @@ -796,7 +796,7 @@ public function setConfigurator($configurator)
/**
* Gets the configurator to call after the service is fully initialized.
*
* @return callable|null The PHP callable to call
* @return callable|array|null
*/
public function getConfigurator()
{
Expand Down
2 changes: 1 addition & 1 deletion Extension/ExtensionInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public function getNamespace();
/**
* Returns the base path for the XSD files.
*
* @return string The XSD base path
* @return string|false
*/
public function getXsdValidationBasePath();

Expand Down
2 changes: 1 addition & 1 deletion Loader/XmlFileLoader.php
Original file line number Diff line number Diff line change
Expand Up @@ -710,7 +710,7 @@ private function loadFromExtensions(\DOMDocument $xml)
*
* @param \DOMElement $element A \DOMElement instance
*
* @return array A PHP array
* @return mixed
*/
public static function convertDomElementToArray(\DOMElement $element)
{
Expand Down
2 changes: 1 addition & 1 deletion ParameterBag/ParameterBag.php
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ public function resolveValue($value, array $resolving = [])
* @param string $value The string to resolve
* @param array $resolving An array of keys that are being resolved (used internally to detect circular references)
*
* @return string The resolved string
* @return mixed The resolved string
*
* @throws ParameterNotFoundException if a placeholder references a parameter that does not exist
* @throws ParameterCircularReferenceException if a circular reference if detected
Expand Down

0 comments on commit bec0a6f

Please sign in to comment.