Skip to content

Commit

Permalink
cs
Browse files Browse the repository at this point in the history
  • Loading branch information
dbu committed Nov 14, 2023
1 parent 8de63ab commit a9db261
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 6 deletions.
4 changes: 1 addition & 3 deletions src/Jackalope/Transport/Jackrabbit/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down Expand Up @@ -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();
Expand Down
2 changes: 0 additions & 2 deletions src/Jackalope/Transport/Jackrabbit/curl.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion tests/Jackalope/Transport/Jackrabbit/ClientTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ private function buildTransportMock($args = 'testuri', $changeMethods = [])
}

/**
* @param mixed $response
* @param string[] $changeMethods
*
* @return Request&MockObject
Expand Down

0 comments on commit a9db261

Please sign in to comment.