Fix typo in method name

This commit is contained in:
Giuseppe Criscione 2024-12-10 23:35:05 +01:00
parent 16f125790b
commit aea4982ff9

View File

@ -104,7 +104,7 @@ class User extends Model
/**
* Return whether the user has the default image
*/
public function hasDefaultImageh(): bool
public function hasDefaultImage(): bool
{
return $this->image()->path() === FileSystem::joinPaths($this->config->get('system.panel.paths.assets'), 'images/user-image.svg');
}