diff --git a/src/Symfony/Component/Messenger/Tests/Transport/AmqpExt/AmqpExtIntegrationTest.php b/src/Symfony/Component/Messenger/Tests/Transport/AmqpExt/AmqpExtIntegrationTest.php index 9c8b18e990..956e09dc31 100644 --- a/src/Symfony/Component/Messenger/Tests/Transport/AmqpExt/AmqpExtIntegrationTest.php +++ b/src/Symfony/Component/Messenger/Tests/Transport/AmqpExt/AmqpExtIntegrationTest.php @@ -226,7 +226,7 @@ TXT { $actualDuration = microtime(true) - $startTime; - if (\method_exists([$this, 'assertEqualsWithDelta'])) { + if (method_exists($this, 'assertEqualsWithDelta')) { $this->assertEqualsWithDelta($expectedDuration, $actualDuration, .5, 'Duration was not within expected range'); } else { $this->assertEquals($expectedDuration, $actualDuration, 'Duration was not within expected range', .5);