From 26b31ac2a2c939aeb80b7e445c8769359578ff83 Mon Sep 17 00:00:00 2001 From: Oskar Stark Date: Tue, 14 May 2019 13:11:05 +0200 Subject: [PATCH] Import use statement for used trait --- components/var_dumper.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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() {