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

Skip to content

Commit fb14627

Browse files
committed
[Core] change deprecation info
1 parent 381fddb commit fb14627

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

src/Sylius/Component/Core/Translation/TranslatableEntityLocaleAssigner.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,10 @@ public function __construct(
2828
private ?CommandBasedContextCheckerInterface $commandBasedChecker = null
2929
) {
3030
if ($this->commandBasedChecker === null) {
31-
@trigger_error('Not passing 3rd argument is deprecated. Pass CommandBasedContextCheckedInterface', E_USER_DEPRECATED);
31+
@trigger_error(
32+
'Not passing CommandBasedContextCheckedInterface explicitly as the third argument is deprecated since 1.11 and will be prohibited in 2.0.',
33+
E_USER_DEPRECATED
34+
);
3235
}
3336
}
3437

0 commit comments

Comments
 (0)