diff --git a/lock.rst b/lock.rst index 72fb36dc779..51f375adc33 100644 --- a/lock.rst +++ b/lock.rst @@ -198,7 +198,7 @@ processes asking for the same ``$version``:: namespace App\Controller; use Symfony\Bundle\FrameworkBundle\Controller\AbstractController; - use Symfony\Component\Lock\LockInterface; + use Symfony\Component\Lock\LockFactory; class PdfController extends AbstractController {