diff --git a/components/var_dumper.rst b/components/var_dumper.rst index 061c42aebba..8f0c7c4e43f 100644 --- a/components/var_dumper.rst +++ b/components/var_dumper.rst @@ -142,10 +142,11 @@ This will provide you with two new assertions: Example:: use PHPUnit\Framework\TestCase; + use Symfony\Component\VarDumper\Test\VarDumperTestTrait; class ExampleTest extends TestCase { - use \Symfony\Component\VarDumper\Test\VarDumperTestTrait; + use VarDumperTestTrait; public function testWithDumpEquals() {