From 183d0bad976c2ed1cac14d02da057568b3ef49a5 Mon Sep 17 00:00:00 2001
From: Stefano Sala <stefano.sala@spa.it>
Date: Fri, 14 Mar 2014 09:14:35 +0100
Subject: [PATCH] Readme corrections for File provider

---
 readme.md | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/readme.md b/readme.md
index 2da4da5e..1ce60795 100644
--- a/readme.md
+++ b/readme.md
@@ -193,17 +193,17 @@ Each of the generator properties (like `name`, `address`, and `lorem`) are calle
 
 ### `Faker\Provider\File`
 
+    fileExtension          // 'avi'
+    mimeType               // 'video/x-msvideo'
     /**
      * Copy a random file from the source directory to the target directory and returns the filename/fullpath
      *
-     * @param  string  $sourceDirectory The directory to look for random file taking
-     * @param  string  $targetDirectory
-     * @param  boolean $fullPath        Wether to have the full path or just the filename
+     * @param $sourceDirectory The directory to look for random file taking
+     * @param $targetDirectory
+     * @param $fullPath Wether to have the full path or just the filename (default true)
      */
-    fileCopy($sourceDir, $targetDir) // '/path/to/targetDir/13b73edae8443990be1aa8f1a483bc27.jpg'
-    fileCopy($sourceDir, $targetDir, false) // '13b73edae8443990be1aa8f1a483bc27.jpg'
-    fileExtension          // 'avi'
-    mimeType               // 'video/x-msvideo'
+    file($sourceDir, $targetDir) // '/path/to/targetDir/13b73edae8443990be1aa8f1a483bc27.jpg'
+    file($sourceDir, $targetDir, false) // '13b73edae8443990be1aa8f1a483bc27.jpg'
 
 ### `Faker\Provider\Image`