diff --git a/.phpcs.xml b/.phpcs.xml index e44849b..bea9751 100644 --- a/.phpcs.xml +++ b/.phpcs.xml @@ -1,9 +1,6 @@ - - - diff --git a/includes/LoginNotify.php b/includes/LoginNotify.php index 031dc49..8a6ecde 100644 --- a/includes/LoginNotify.php +++ b/includes/LoginNotify.php @@ -562,7 +562,7 @@ class LoginNotify implements LoggerAwareInterface { * machines. * * @param User $user - * @param $cookieRecord + * @param string $cookieRecord * @return bool */ private function isUserRecordGivenCookie( User $user, $cookieRecord ) { @@ -638,8 +638,8 @@ class LoginNotify implements LoggerAwareInterface { /** * Get the cache key for the counter. * - * @param $user User - * @param $type string 'known' or 'new' + * @param User $user + * @param string $type 'known' or 'new' * @return string The cache key */ private function getKey( User $user, $type ) { diff --git a/maintenance/migratePreferences.php b/maintenance/migratePreferences.php index 77f125c..8b33cda 100644 --- a/maintenance/migratePreferences.php +++ b/maintenance/migratePreferences.php @@ -100,7 +100,7 @@ class MigratePreferences extends LoggedUpdateMaintenance { * Update one user's preferences * * @param object $userRow Row from the user table - * @param array $options Associative array of preference => value + * @param array &$options Associative array of preference => value * @return int Number of options updated */ private function updateUser( $userRow, array &$options ) {