diff --git a/src/Core/Command/EditUser.php b/src/Core/Command/EditUser.php index a3e4b5c71..dcb5032b9 100644 --- a/src/Core/Command/EditUser.php +++ b/src/Core/Command/EditUser.php @@ -29,7 +29,7 @@ class EditUser public $actor; /** - * The attributes to update on the post. + * The attributes to update on the user. * * @var array */ @@ -38,7 +38,7 @@ class EditUser /** * @param int $userId The ID of the user to edit. * @param User $actor The user performing the action. - * @param array $data The attributes to update on the post. + * @param array $data The attributes to update on the user. */ public function __construct($userId, User $actor, array $data) { diff --git a/src/Core/Guest.php b/src/Core/Guest.php index a0b612ef4..f5c02797e 100755 --- a/src/Core/Guest.php +++ b/src/Core/Guest.php @@ -22,7 +22,7 @@ class Guest extends User /** * Get the guest's group, containing only the 'guests' group model. * - * @return \Flarum\Core\Models\Group + * @return Group */ public function getGroupsAttribute() { diff --git a/src/Event/ConfigureLocales.php b/src/Event/ConfigureLocales.php index c37e84c49..b22fd6e6b 100644 --- a/src/Event/ConfigureLocales.php +++ b/src/Event/ConfigureLocales.php @@ -32,7 +32,7 @@ class ConfigureLocales /** * Load language pack resources from the given directory. * - * @param $directory + * @param string $directory */ public function loadLanguagePackFrom($directory) {