Skip to content

Conversation

@albe
Copy link
Member

@albe albe commented Nov 22, 2021

The $pathAndFilename argument has been declared nullable in upstream 2.7.1+ and psalm was notifying about this.

See TYPO3/Fluid@2d28324

The $pathAndFilename argument has been declared nullable in upstream 2.7.1+ and psalm was notifying about this.
*/
protected function createIdentifierForFile($pathAndFilename, $prefix)
{
$pathAndFilename = (string)$pathAndFilename;
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is meh, but that's what TYPO3Fluid does too.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

o.O I wonder why they changed the param annotation then.. well

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤷‍♂️

@albe albe merged commit 9262f8e into 6.3 Nov 22, 2021
@albe albe deleted the typo3fluid-docblock branch November 22, 2021 17:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants