Skip to content
Merged
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
3 changes: 2 additions & 1 deletion Neos.FluidAdaptor/Classes/View/TemplatePaths.php
Original file line number Diff line number Diff line change
Expand Up @@ -539,13 +539,14 @@ public function setOption($optionName, $value)
* <PackageKey>_<SubPackageKey>_<ControllerName>_<prefix>_<SHA1>
* The SH1 hash is a checksum that is based on the file path and last modification date
*
* @param string $pathAndFilename
* @param string|null $pathAndFilename
* @param string $prefix
* @return string
* @throws InvalidTemplateResourceException
*/
protected function createIdentifierForFile($pathAndFilename, $prefix)
{
$pathAndFilename = (string)$pathAndFilename;
Copy link
Contributor 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
Contributor Author

Choose a reason for hiding this comment

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

🤷‍♂️

$templateModifiedTimestamp = 0;
$isStandardInput = $pathAndFilename === 'php://stdin';
$isFile = is_file($pathAndFilename);
Expand Down