From 50acf7306ef8a9229436dcec24fa4b593160d542 Mon Sep 17 00:00:00 2001 From: pomaxa Date: Wed, 30 Sep 2015 02:30:04 +0300 Subject: [PATCH 1/2] static calls. --- src/Faker/Provider/lv_LV/Person.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Faker/Provider/lv_LV/Person.php b/src/Faker/Provider/lv_LV/Person.php index b8a2e77c98..ca3386b11e 100644 --- a/src/Faker/Provider/lv_LV/Person.php +++ b/src/Faker/Provider/lv_LV/Person.php @@ -53,12 +53,12 @@ class Person extends \Faker\Provider\Person public function driverLicence() { - return $this->bothify("??######"); + return static::bothify('??######'); } public function passportNumber() { - return $this->bothify("??#######"); + return static::bothify('??#######'); } /** From 137e3e3bbbfe6bb0bf877c022aec3080d1a6e870 Mon Sep 17 00:00:00 2001 From: pomaxa Date: Wed, 30 Sep 2015 02:43:16 +0300 Subject: [PATCH 2/2] lv_LV colors --- src/Faker/Provider/lv_LV/Color.php | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 src/Faker/Provider/lv_LV/Color.php diff --git a/src/Faker/Provider/lv_LV/Color.php b/src/Faker/Provider/lv_LV/Color.php new file mode 100644 index 0000000000..99e681b7af --- /dev/null +++ b/src/Faker/Provider/lv_LV/Color.php @@ -0,0 +1,19 @@ +