From a9db261fb76b6a1481ec11d7b20313be27a27fb9 Mon Sep 17 00:00:00 2001 From: David Buchmann Date: Tue, 14 Nov 2023 09:23:57 +0100 Subject: [PATCH] cs --- src/Jackalope/Transport/Jackrabbit/Client.php | 4 +--- src/Jackalope/Transport/Jackrabbit/curl.php | 2 -- tests/Jackalope/Transport/Jackrabbit/ClientTest.php | 1 - 3 files changed, 1 insertion(+), 6 deletions(-) diff --git a/src/Jackalope/Transport/Jackrabbit/Client.php b/src/Jackalope/Transport/Jackrabbit/Client.php index fd7f0fcc..aab071ce 100644 --- a/src/Jackalope/Transport/Jackrabbit/Client.php +++ b/src/Jackalope/Transport/Jackrabbit/Client.php @@ -1266,8 +1266,6 @@ private function createNodeJsop(string $path, iterable $properties): void /** * This method is used when building a JSOP of the properties. - * - * @return mixed */ private function propertyToJsopString(Property $property) { @@ -1424,7 +1422,7 @@ public function getPermissions($path): array return $result; } - public function lockNode(string $absPath, bool $isDeep, bool $isSessionScoped, int $timeoutHint = PHP_INT_MAX, ?string $ownerInfo = null): LockInterface + public function lockNode(string $absPath, bool $isDeep, bool $isSessionScoped, int $timeoutHint = PHP_INT_MAX, string $ownerInfo = null): LockInterface { $timeout = PHP_INT_MAX === $timeoutHint ? 'infinite' : $timeoutHint; $ownerInfo = $ownerInfo ?? $this->credentials->getUserID(); diff --git a/src/Jackalope/Transport/Jackrabbit/curl.php b/src/Jackalope/Transport/Jackrabbit/curl.php index 323de400..78d52c7f 100644 --- a/src/Jackalope/Transport/Jackrabbit/curl.php +++ b/src/Jackalope/Transport/Jackrabbit/curl.php @@ -47,8 +47,6 @@ public function __construct(string $url = null) /** * Sets the options to be used for the request. * - * @param mixed $value - * * @see curl_setopt */ public function setopt(int $option, $value): bool diff --git a/tests/Jackalope/Transport/Jackrabbit/ClientTest.php b/tests/Jackalope/Transport/Jackrabbit/ClientTest.php index 59810984..02fb2397 100644 --- a/tests/Jackalope/Transport/Jackrabbit/ClientTest.php +++ b/tests/Jackalope/Transport/Jackrabbit/ClientTest.php @@ -46,7 +46,6 @@ private function buildTransportMock($args = 'testuri', $changeMethods = []) } /** - * @param mixed $response * @param string[] $changeMethods * * @return Request&MockObject