Skip to content

Conversation

@blizzz
Copy link
Member

@blizzz blizzz commented Jul 4, 2023

backport of #38625

blizzz added 8 commits July 4, 2023 23:06
- fixes a regression when deleting folders while music app was enabled,
  for a LazyRoot was passed to this method.

Signed-off-by: Arthur Schiwon <[email protected]>
Signed-off-by: Arthur Schiwon <[email protected]>
createNode() is protected and used by Folder, but being an internal-only
method it shall not be exposed in the Folder or IRootFolder interface.

Signed-off-by: Arthur Schiwon <[email protected]>
@blizzz blizzz added bug 3. to review Waiting for reviews regression labels Jul 4, 2023
@blizzz blizzz added this to the Nextcloud 25.0.9 milestone Jul 4, 2023
@blizzz blizzz requested review from a team, ArtificialOwl, bigcat88, come-nc, icewind1991 and marcelklehr and removed request for a team July 4, 2023 21:38

/**
* @return Node
* @return INode|IRootFolder

Check failure

Code scanning / Psalm

LessSpecificImplementedReturnType

The inherited return type 'OCP\Files\Folder' for OCP\Files\Node::getParent is more specific than the implemented return type for OC\Files\Node\Node::getparent 'OCP\Files\IRootFolder|OCP\Files\Node'

/**
* @return Node
* @return INode|IRootFolder

Check failure

Code scanning / Psalm

LessSpecificImplementedReturnType

The inherited return type 'OCP\Files\Folder' for OCP\Files\Node::getParent is more specific than the implemented return type for OC\Files\Node\Root::getparent 'OCP\Files\IRootFolder|OCP\Files\Node'
@blizzz blizzz requested a review from provokateurin July 4, 2023 21:46
@blizzz blizzz merged commit 48a7a20 into stable25 Jul 6, 2023
@blizzz blizzz deleted the backport/38625/stable25 branch July 6, 2023 11:37
@blizzz blizzz mentioned this pull request Jul 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants