Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Faker::telephone() and Faker::email dos,nt work #11

Open
mohsenmehri6101 opened this issue Aug 27, 2020 · 4 comments
Open

Faker::telephone() and Faker::email dos,nt work #11

mohsenmehri6101 opened this issue Aug 27, 2020 · 4 comments

Comments

@mohsenmehri6101
Copy link

why this two function,s does,nt work :
Faker::telephon();
Faker::email();
sorry my english not fluent :(

@menkaff
Copy link
Contributor

menkaff commented Nov 22, 2020

@mohsenmehri6101 هر دوتاشون درستن اینجوری باید استفاده بشن
در ضمن تلفن یک حرف "e" تهش داره

$faker = new Ybazli\Faker\Faker;
$phone = $faker->telephone();
$email = $faker->email();

@ehs4nm
Copy link

ehs4nm commented Jan 31, 2022

Faker::telephone()
یا
$faker = new Ybazli\Faker\Faker;
$phone = $faker->telephone();

کار نمیکنه. (لاراول 8).

PHP Warning: Undefined array key "telephone" in D:\laara\vendor\ybazli\faker\src\Faker.php on line 35
TypeError: array_rand(): Argument #1 ($array) must be of type array, null given

@menkaff
Copy link
Contributor

menkaff commented Feb 7, 2022

@ehs4nm
روی لاراول 8 تست نکردم ولی داخل کامپوزر dev-master رو قید کردین؟
"ybazli/faker": "dev-master",

@MansourM
Copy link

سلام
Faker::telephone()
ندارید باید باشه
Faker::tellphone()
اشتباه تایپی یا داکیومنتی هست

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants