From 1b12802984121e46ad29af86f5bd885d922f311e Mon Sep 17 00:00:00 2001 From: TS Date: Sat, 6 Apr 2024 11:42:03 +0200 Subject: [PATCH] Updated examples Updeted FakerTest Updated readme --- README.md | 2 +- examples/demo.php | 2 +- examples/readme.php | 2 +- tests/FakerTest.php | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index cc8b242..f814eba 100644 --- a/README.md +++ b/README.md @@ -72,7 +72,7 @@ ], ]); - $faker->sentence(5); // Sedev emeze evekem ez denebebekepep. + $faker->text(20, 3, 10); // Sedev emeze evekem ez denebebekepep... ``` diff --git a/examples/demo.php b/examples/demo.php index 06b813a..cb4bf6a 100644 --- a/examples/demo.php +++ b/examples/demo.php @@ -159,4 +159,4 @@ $words = []; $words[] = strtoupper($faker->words(14, '.', 2, 4)); -print_r($words); \ No newline at end of file +print_r($words); diff --git a/examples/readme.php b/examples/readme.php index 3b5b94d..56832f4 100644 --- a/examples/readme.php +++ b/examples/readme.php @@ -53,4 +53,4 @@ $items[] = $faker->text(20, 3, 10); // Sedev emeze evekem ez denebebekepep -print_r($items); \ No newline at end of file +print_r($items); diff --git a/tests/FakerTest.php b/tests/FakerTest.php index b67ee98..0b265a5 100644 --- a/tests/FakerTest.php +++ b/tests/FakerTest.php @@ -276,4 +276,4 @@ public function testDates() $this->assertSame('1999-12', \substr($dates[1], 0, 7)); $this->assertSame('2200-04-01 00:00:00', $dates[2]); } -} \ No newline at end of file +}