diff --git a/extensions/yii/faker/README.md b/extensions/yii/faker/README.md index 4871801..0cef652 100644 --- a/extensions/yii/faker/README.md +++ b/extensions/yii/faker/README.md @@ -49,7 +49,7 @@ return [ 'table_columnN+1' => function ($fixture, $faker, $index) { //set needed fixture fields based on different conditions - $fixture['body] = $faker->sentence(7,true); #generate sentence exact with 7 words. + $fixture['body'] = $faker->sentence(7,true); #generate sentence exact with 7 words. return $fixture; } ], @@ -143,7 +143,7 @@ class Book extends \Faker\Provider\Base } ``` -You can use it by adding it to the $providers property of the current command. In your console.php config: +You can use it by adding it to the ```$providers``` property of the current command. In your console.php config: ```php 'controllerMap' => [