<?php class Test { /** @var Request|\PHPUnit_Framework_MockObject_MockObject */ private $request; public function setUp() { $this->request = $this->createMock(Request::class); // @property query \PHPUnit_Framework_MockObject_MockObject $this->request->query = $this->createMock(Query::class); } }
You have javascript disabled. You will not be able to edit any code.