tobimori / kirby-blurhash

🎨 Optimized image placeholders with BlurHash for Kirby (3 & 4)
https://getkirby.com/plugins/tobimori/blurhash
MIT License
36 stars 1 forks source link

Fix: Return actual ID for given UUID instance #4

Closed johannschopplich closed 1 year ago

johannschopplich commented 1 year ago

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.