2 parents b2849c5 + b1263a5 commit 784daa4Copy full SHA for 784daa4
1 file changed
lib/Controller/RowController.php
@@ -17,25 +17,15 @@
17
use Psr\Log\LoggerInterface;
18
19
class RowController extends Controller {
20
- /** @var RowService */
21
- private RowService $service;
22
-
23
- /** @var string */
24
- private string $userId;
25
26
- protected LoggerInterface $logger;
27
28
use Errors;
29
30
public function __construct(
31
IRequest $request,
32
- LoggerInterface $logger,
33
- RowService $service,
34
- string $userId) {
+ protected LoggerInterface $logger,
+ private RowService $service,
+ private ?string $userId,
+ ) {
35
parent::__construct(Application::APP_ID, $request);
36
- $this->logger = $logger;
37
- $this->service = $service;
38
- $this->userId = $userId;
39
}
40
41
#[NoAdminRequired]
0 commit comments