From 42495888fb2603d276311cdaae1d6652796e1514 Mon Sep 17 00:00:00 2001 From: Gevorg Mansuryan Date: Sat, 17 Mar 2018 02:40:59 +0400 Subject: [PATCH] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index da3d3e2..85e5861 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,7 @@ Will return array of populated AR models - Define Fields ```php -uploadedFile = \yii\web\UploadedFile::getInstanceByName('file'); +$uploadedFile = \yii\web\UploadedFile::getInstanceByName('file'); $importer = new \Gevman\Yii2Excel\Importer([ 'filePath' => $uploadedFile->tempName, @@ -132,4 +132,4 @@ $importer->save(); foreach($importer->getErrors() as $rowNumber => $errors) { echo "$rowNumber errors
" . implode('
', $errors); } -``` \ No newline at end of file +```