From 9fd4707d11a7410aa50ef3f72509830873f6f3eb Mon Sep 17 00:00:00 2001 From: Hugo Fonseca Date: Wed, 16 Apr 2014 11:15:48 +0100 Subject: [PATCH] fixed should not concatenate --- src/Faker/Provider/pt_PT/PhoneNumber.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Faker/Provider/pt_PT/PhoneNumber.php b/src/Faker/Provider/pt_PT/PhoneNumber.php index dcb5af02..e15f4c9e 100644 --- a/src/Faker/Provider/pt_PT/PhoneNumber.php +++ b/src/Faker/Provider/pt_PT/PhoneNumber.php @@ -37,14 +37,14 @@ class PhoneNumber extends \Faker\Provider\PhoneNumber ); protected static $mobileNumberPrefixes = array( - '91', - '92', - '93', - '96', + '91#########', + '92#########', + '93#########', + '96#########', ); public static function mobileNumber() { - return static::numerify(static::randomElement(static::$mobileNumberPrefixes).'#######'); + return static::numerify(static::randomElement(static::$mobileNumberPrefixes)); } }