mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-25 11:38:44 +02:00
N°6934 - Symfony 6.4 - upgrade Symfony bundles to 6.4 (#580)
* Update Symfony lib to version ~6.4.0 * Update code missing return type * Add an iTop general configuration entry to store application secret (Symfony mandatory parameter) * Use dependency injection in ExceptionListener & UserProvider classes
This commit is contained in:
@@ -23,35 +23,31 @@ interface ContainerBagInterface extends ContainerInterface
|
||||
{
|
||||
/**
|
||||
* Gets the service container parameters.
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function all();
|
||||
public function all(): array;
|
||||
|
||||
/**
|
||||
* Replaces parameter placeholders (%name%) by their values.
|
||||
*
|
||||
* @param mixed $value A value
|
||||
* @template TValue of array<array|scalar>|scalar
|
||||
*
|
||||
* @param TValue $value
|
||||
*
|
||||
* @return mixed
|
||||
*
|
||||
* @psalm-return (TValue is scalar ? array|scalar : array<array|scalar>)
|
||||
*
|
||||
* @throws ParameterNotFoundException if a placeholder references a parameter that does not exist
|
||||
*/
|
||||
public function resolveValue($value);
|
||||
public function resolveValue(mixed $value);
|
||||
|
||||
/**
|
||||
* Escape parameter placeholders %.
|
||||
*
|
||||
* @param mixed $value
|
||||
*
|
||||
* @return mixed
|
||||
*/
|
||||
public function escapeValue($value);
|
||||
public function escapeValue(mixed $value): mixed;
|
||||
|
||||
/**
|
||||
* Unescape parameter placeholders %.
|
||||
*
|
||||
* @param mixed $value
|
||||
*
|
||||
* @return mixed
|
||||
*/
|
||||
public function unescapeValue($value);
|
||||
public function unescapeValue(mixed $value): mixed;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user