From bc80f7100f76d7d8aeb89e04c68a601aefabc25c Mon Sep 17 00:00:00 2001 From: Ramon Gutierrez Date: Wed, 31 Jan 2018 03:03:17 +0800 Subject: [PATCH] Fix variable names for first and last name setters --- src/Entity/Rider.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Entity/Rider.php b/src/Entity/Rider.php index 7e1ebf86..64051a1c 100644 --- a/src/Entity/Rider.php +++ b/src/Entity/Rider.php @@ -72,9 +72,9 @@ class Rider return $this->id; } - public function setFirstName($name) + public function setFirstName($first_name) { - $this->first_name = $name; + $this->first_name = $first_name; return $this; } @@ -83,9 +83,9 @@ class Rider return $this->first_name; } - public function setLastName($name) + public function setLastName($last_name) { - $this->last_name = $name; + $this->last_name = $last_name; return $this; }