filament-language-switch
filament-language-switch copied to clipboard
Make route getName optional
Since 404 routes return null
this breaks calling getName()
. Adding ?
fixes this