[DI] fix return type declarations
This commit is contained in:
parent
9c63be489e
commit
ca1fad471e
@ -1743,9 +1743,7 @@ class FrameworkExtension extends Extension
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the base path for the XSD files.
|
* {@inheritdoc}
|
||||||
*
|
|
||||||
* @return string The XSD base path
|
|
||||||
*/
|
*/
|
||||||
public function getXsdValidationBasePath()
|
public function getXsdValidationBasePath()
|
||||||
{
|
{
|
||||||
|
@ -798,9 +798,7 @@ class SecurityExtension extends Extension
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the base path for the XSD files.
|
* {@inheritdoc}
|
||||||
*
|
|
||||||
* @return string The XSD base path
|
|
||||||
*/
|
*/
|
||||||
public function getXsdValidationBasePath()
|
public function getXsdValidationBasePath()
|
||||||
{
|
{
|
||||||
|
@ -255,9 +255,7 @@ class TwigExtension extends Extension
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the base path for the XSD files.
|
* {@inheritdoc}
|
||||||
*
|
|
||||||
* @return string The XSD base path
|
|
||||||
*/
|
*/
|
||||||
public function getXsdValidationBasePath()
|
public function getXsdValidationBasePath()
|
||||||
{
|
{
|
||||||
|
@ -64,9 +64,7 @@ class WebProfilerExtension extends Extension
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the base path for the XSD files.
|
* {@inheritdoc}
|
||||||
*
|
|
||||||
* @return string The XSD base path
|
|
||||||
*/
|
*/
|
||||||
public function getXsdValidationBasePath()
|
public function getXsdValidationBasePath()
|
||||||
{
|
{
|
||||||
|
@ -796,7 +796,7 @@ class Definition
|
|||||||
/**
|
/**
|
||||||
* Gets the configurator to call after the service is fully initialized.
|
* 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()
|
public function getConfigurator()
|
||||||
{
|
{
|
||||||
|
@ -37,7 +37,7 @@ interface ExtensionInterface
|
|||||||
/**
|
/**
|
||||||
* Returns the base path for the XSD files.
|
* Returns the base path for the XSD files.
|
||||||
*
|
*
|
||||||
* @return string The XSD base path
|
* @return string|false
|
||||||
*/
|
*/
|
||||||
public function getXsdValidationBasePath();
|
public function getXsdValidationBasePath();
|
||||||
|
|
||||||
|
@ -710,7 +710,7 @@ EOF
|
|||||||
*
|
*
|
||||||
* @param \DOMElement $element A \DOMElement instance
|
* @param \DOMElement $element A \DOMElement instance
|
||||||
*
|
*
|
||||||
* @return array A PHP array
|
* @return mixed
|
||||||
*/
|
*/
|
||||||
public static function convertDomElementToArray(\DOMElement $element)
|
public static function convertDomElementToArray(\DOMElement $element)
|
||||||
{
|
{
|
||||||
|
@ -195,7 +195,7 @@ class ParameterBag implements ParameterBagInterface
|
|||||||
* @param string $value The string to resolve
|
* @param string $value The string to resolve
|
||||||
* @param array $resolving An array of keys that are being resolved (used internally to detect circular references)
|
* @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 ParameterNotFoundException if a placeholder references a parameter that does not exist
|
||||||
* @throws ParameterCircularReferenceException if a circular reference if detected
|
* @throws ParameterCircularReferenceException if a circular reference if detected
|
||||||
|
Reference in New Issue
Block a user