From 8cc54473e30082cc0586f14e2b86dab497bf2171 Mon Sep 17 00:00:00 2001 From: Marco Date: Thu, 16 Feb 2017 08:30:24 +0100 Subject: [PATCH] Improve language of parameter name --- src/Auth.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Auth.php b/src/Auth.php index c35e7f5..8fba2dd 100644 --- a/src/Auth.php +++ b/src/Auth.php @@ -834,14 +834,14 @@ class Auth { * You must never pass untrusted input to the parameter that takes the column list * * @param string $email the email address to look for - * @param array $requestColumns the columns to request from the user's record + * @param array $requestedColumns the columns to request from the user's record * @return array the user data (if an account was found) * @throws InvalidEmailException if the email address could not be found * @throws AuthError if an internal problem occurred (do *not* catch) */ - private function getUserDataByEmailAddress($email, array $requestColumns) { + private function getUserDataByEmailAddress($email, array $requestedColumns) { try { - $projection = implode(', ', $requestColumns); + $projection = implode(', ', $requestedColumns); $userData = $this->db->selectRow( 'SELECT ' . $projection . ' FROM users WHERE email = ?', [ $email ]