From aea4982ff9e3560bde6ffe0635d47577ae2b0fd1 Mon Sep 17 00:00:00 2001 From: Giuseppe Criscione <18699708+giuscris@users.noreply.github.com> Date: Tue, 10 Dec 2024 23:35:05 +0100 Subject: [PATCH] Fix typo in method name --- formwork/src/Users/User.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/formwork/src/Users/User.php b/formwork/src/Users/User.php index a83608eb..42d399ac 100644 --- a/formwork/src/Users/User.php +++ b/formwork/src/Users/User.php @@ -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'); }