Closed johannschopplich closed 1 year ago
Using uuid() on files will return a UUID class instance.
uuid()
To be more semantic, I think the actual ID for a given UUID should be used if available: $file->uuid()->id().
$file->uuid()->id()
Also added the curly brackets to be PSR12 compliant, just like Kirby's code formatting guidelines.
PSR12
Using
uuid()
on files will return a UUID class instance.To be more semantic, I think the actual ID for a given UUID should be used if available:
$file->uuid()->id()
.Also added the curly brackets to be
PSR12
compliant, just like Kirby's code formatting guidelines.