Skip to content

Commit

Permalink
Merge pull request #240 from nextcloud/fix-failed-update-nextcloud-oc…
Browse files Browse the repository at this point in the history
…p-main

fix: failed to update nextcloud/ocp package on branch main
  • Loading branch information
juliusknorr authored Oct 25, 2024
2 parents 849474c + 88797ad commit 4c3b8f6
Show file tree
Hide file tree
Showing 9 changed files with 163 additions and 142 deletions.
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"nextcloud/ocp": "dev-master",
"phpunit/phpunit": "^9",
"psalm/phar": "^5.2",
"psr/log": "^3.0.2",
"roave/security-advisories": "dev-latest",
"sabre/dav": "^4.3"
},
Expand Down
280 changes: 150 additions & 130 deletions composer.lock

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions lib/Controller/JWTController.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@
*/
final class JWTController extends Controller {
public function __construct(
IRequest $request,
private GetFileServiceFactory $getFileServiceFactory,
private JWTService $jwtService,
private ExceptionService $exceptionService,
IRequest $request,
private GetFileServiceFactory $getFileServiceFactory,
private JWTService $jwtService,
private ExceptionService $exceptionService,
private AuthenticateUserServiceFactory $authenticateUserServiceFactory,
) {
parent::__construct('whiteboard', $request);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
final class AuthenticatePublicSharingUserService implements AuthenticateUserService {
public function __construct(
private ShareManager $shareManager,
private ?string $publicSharingToken = null,
private ?string $publicSharingToken = null,
) {
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
final class GetPublicSharingUserFromIdService implements GetUserFromIdService {
public function __construct(
private ShareManager $shareManager,
private string $userId,
private string $userId,
) {
}

Expand Down
2 changes: 1 addition & 1 deletion lib/Service/Authentication/GetSessionUserFromIdService.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ final class GetSessionUserFromIdService implements GetUserFromIdService {
public function __construct(
private IUserManager $userManager,
private IUserSession $userSession,
private string $userId,
private string $userId,
) {
}

Expand Down
4 changes: 2 additions & 2 deletions lib/Service/File/GetFileFromIdService.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ final class GetFileFromIdService implements GetFileService {

public function __construct(
private IRootFolder $rootFolder,
private string $userId,
private int $fileId,
private string $userId,
private int $fileId,
) {
}

Expand Down
4 changes: 2 additions & 2 deletions lib/Service/File/GetFileFromPublicSharingTokenService.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ final class GetFileFromPublicSharingTokenService implements GetFileService {

public function __construct(
private ShareManager $shareManager,
private string $publicSharingToken,
private int $fileId,
private string $publicSharingToken,
private int $fileId,
) {
}

Expand Down
2 changes: 1 addition & 1 deletion lib/Service/File/GetFileServiceFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
*/
final class GetFileServiceFactory {
public function __construct(
private IRootFolder $rootFolder,
private IRootFolder $rootFolder,
private ShareManager $shareManager,
) {
}
Expand Down

0 comments on commit 4c3b8f6

Please sign in to comment.