api remove page title etc

This commit is contained in:
xiaomlove
2023-06-10 04:25:07 +08:00
parent f153b9ab9c
commit 8e156dcbea
11 changed files with 52 additions and 51 deletions

View File

@@ -14,9 +14,9 @@ class PollController extends Controller
{
private $repository;
public function __construct()
public function __construct(PollRepository $repository)
{
$this->repository = $repository;
}
private function getRules(): array