Skip to content

Fix typos on index page #11

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

Merged
merged 1 commit into from
Nov 16, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ You can also load `Fakers` shipped `PSR-0` autoloader
require_once '/path/to/Faker/src/autoload.php';
```

*alternatively, you can use any another PSR-4 compliant autoloader*
*alternatively, you can use any other PSR-4 compliant autoloader*

### Create fake data

Expand Down Expand Up @@ -144,7 +144,7 @@ $faker->optional()->passthrough(mt_rand(5, 15));
## Localization

`Faker\Factory` can take a locale as an argument, to return localized data. If no localized provider is found, the
factory fallbacks to the default locale (en_US).
factory falls back to the default locale (en_US).

```php
// create a French faker
Expand Down Expand Up @@ -228,7 +228,7 @@ $populator->addEntity('Book', 5, [], [

## Seeding the Generator

You may want to get always the same generated data - for instance when using Faker for unit testing purposes. The generator offers a `seed()` method, which seeds the random number generator. Calling the same script twice with the same seed produces the same results.
You may want to always get the same generated data - for instance when using Faker for unit testing purposes. The generator offers a `seed()` method, which seeds the random number generator. Calling the same script twice with the same seed produces the same results.

```php
$faker = Faker\Factory::create();
Expand Down