aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/Provisioning/Apple/AppleProvisioningPlugin.php
diff options
context:
space:
mode:
authorCôme Chilliet <come.chilliet@nextcloud.com>2022-11-07 13:40:30 +0100
committerCôme Chilliet <come.chilliet@nextcloud.com>2023-01-02 15:02:28 +0100
commita372564850cb2f8813c4c3cca67bd1b6cfcdb882 (patch)
treefc879b783dae0d038c60111b7adbb3b0749c6d09 /apps/dav/lib/Provisioning/Apple/AppleProvisioningPlugin.php
parente4e20bf40ad8ca139655b36a6efa2b1710ae50f0 (diff)
downloadnextcloud-server-a372564850cb2f8813c4c3cca67bd1b6cfcdb882.tar.gz
nextcloud-server-a372564850cb2f8813c4c3cca67bd1b6cfcdb882.zip
Fix psalm spotted errors with new requirements
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'apps/dav/lib/Provisioning/Apple/AppleProvisioningPlugin.php')
-rw-r--r--apps/dav/lib/Provisioning/Apple/AppleProvisioningPlugin.php21
1 files changed, 9 insertions, 12 deletions
diff --git a/apps/dav/lib/Provisioning/Apple/AppleProvisioningPlugin.php b/apps/dav/lib/Provisioning/Apple/AppleProvisioningPlugin.php
index f92bc4f3a0d..98be4e41917 100644
--- a/apps/dav/lib/Provisioning/Apple/AppleProvisioningPlugin.php
+++ b/apps/dav/lib/Provisioning/Apple/AppleProvisioningPlugin.php
@@ -36,7 +36,6 @@ use Sabre\HTTP\RequestInterface;
use Sabre\HTTP\ResponseInterface;
class AppleProvisioningPlugin extends ServerPlugin {
-
/**
* @var Server
*/
@@ -68,23 +67,21 @@ class AppleProvisioningPlugin extends ServerPlugin {
protected $l10n;
/**
- * @var \closure
+ * @var \Closure
*/
protected $uuidClosure;
/**
* AppleProvisioningPlugin constructor.
- *
- * @param IUserSession $userSession
- * @param IURLGenerator $urlGenerator
- * @param \OC_Defaults $themingDefaults
- * @param IRequest $request
- * @param IL10N $l10n
- * @param \closure $uuidClosure
*/
- public function __construct(IUserSession $userSession, IURLGenerator $urlGenerator,
- \OC_Defaults $themingDefaults, IRequest $request,
- IL10N $l10n, \closure $uuidClosure) {
+ public function __construct(
+ IUserSession $userSession,
+ IURLGenerator $urlGenerator,
+ \OC_Defaults $themingDefaults,
+ IRequest $request,
+ IL10N $l10n,
+ \Closure $uuidClosure
+ ) {
$this->userSession = $userSession;
$this->urlGenerator = $urlGenerator;
$this->themingDefaults = $themingDefaults;