Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: failed to update nextcloud/ocp package on branch main #240

Merged
merged 1 commit into from
Oct 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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
Loading