Skip to content

Commit

Permalink
fixed deprecation message
Browse files Browse the repository at this point in the history
  • Loading branch information
fabpot committed Jul 8, 2019
1 parent 499ad6d commit a22eeb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Symfony/Component/Stopwatch/Section.php
Expand Up @@ -63,7 +63,7 @@ public function __construct(float $origin = null, bool $morePrecision = false)
public function get($id)
{
if (null === $id) {
@trigger_error(sprintf('Passing null as 1st ("$id") argument of the "%s()" method is deprecated since Symfony 4.4, pass a valid child section identifier instead.', __METHOD__), E_USER_DEPRECATED);
@trigger_error(sprintf('Passing "null" as the first argument of the "%s()" method is deprecated since Symfony 4.4, pass a valid child section identifier instead.', __METHOD__), E_USER_DEPRECATED);
}

foreach ($this->children as $child) {
Expand Down

0 comments on commit a22eeb3

Please sign in to comment.