From 381077028adf388a7081cf42026570c6be47b198 Mon Sep 17 00:00:00 2001 From: provokateurin Date: Fri, 18 Oct 2024 12:04:22 +0200 Subject: refactor(apps): Use constructor property promotion when possible Signed-off-by: provokateurin --- apps/workflowengine/lib/Check/RequestURL.php | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'apps/workflowengine/lib/Check/RequestURL.php') diff --git a/apps/workflowengine/lib/Check/RequestURL.php b/apps/workflowengine/lib/Check/RequestURL.php index 43123bddbe9..62d6dbc5c38 100644 --- a/apps/workflowengine/lib/Check/RequestURL.php +++ b/apps/workflowengine/lib/Check/RequestURL.php @@ -14,16 +14,15 @@ class RequestURL extends AbstractStringCheck { /** @var ?string */ protected $url; - /** @var IRequest */ - protected $request; - /** * @param IL10N $l * @param IRequest $request */ - public function __construct(IL10N $l, IRequest $request) { + public function __construct( + IL10N $l, + protected IRequest $request, + ) { parent::__construct($l); - $this->request = $request; } /** -- cgit v1.2.3