Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2ff36fb

Browse files
authored
[PropertyAccess] Adjusted deprecation message.
1 parent 24f5bf0 commit 2ff36fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/PropertyAccess/PropertyAccessor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -829,7 +829,7 @@ private function getPropertyPath($propertyPath): PropertyPath
829829
public static function createCache($namespace, $defaultLifetime, $version, LoggerInterface $logger = null)
830830
{
831831
if (null === $defaultLifetime) {
832-
@trigger_error(sprintf('Passing null as "$defaultLifetime" 2nd argument of the "%s()" method is deprecated since Symfony 4.4, pass an integer instead.', __METHOD__), E_USER_DEPRECATED);
832+
@trigger_error(sprintf('Passing null as "$defaultLifetime" 2nd argument of the "%s()" method is deprecated since Symfony 4.4, pass 0 instead.', __METHOD__), E_USER_DEPRECATED);
833833
}
834834

835835
if (!class_exists('Symfony\Component\Cache\Adapter\ApcuAdapter')) {

0 commit comments

Comments
 (0)