Grammar/Vocabulary fixes
Signed-off-by: Chris Berthe <chrisberthe@gmail.com>
This commit is contained in:
@@ -161,7 +161,7 @@ class File {
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine if a file is a given type.
|
||||
* Determine if a file is of a given type.
|
||||
*
|
||||
* The Fileinfo PHP extension is used to determine the file's MIME type.
|
||||
*
|
||||
@@ -184,7 +184,7 @@ class File {
|
||||
$mime = finfo_file(finfo_open(FILEINFO_MIME_TYPE), $path);
|
||||
|
||||
// The MIME configuration file contains an array of file extensions and
|
||||
// their associated MIME types. We will spin through each extension the
|
||||
// their associated MIME types. We will loop through each extension the
|
||||
// developer wants to check and look for the MIME type.
|
||||
foreach ((array) $extensions as $extension)
|
||||
{
|
||||
@@ -296,7 +296,7 @@ class File {
|
||||
{
|
||||
// If the item is a directory, we can just recurse into the
|
||||
// function and delete that sub-directory, otherwise we'll
|
||||
// just deleete the file and keep going!
|
||||
// just delete the file and keep going!
|
||||
if ($item->isDir())
|
||||
{
|
||||
static::rmdir($item->getRealPath());
|
||||
@@ -335,7 +335,7 @@ class File {
|
||||
|
||||
$items = new fIterator($directory, $options);
|
||||
|
||||
// To get the latest created file, we'll simply spin through the
|
||||
// To get the latest created file, we'll simply loop through the
|
||||
// directory, setting the latest file if we encounter a file
|
||||
// with a UNIX timestamp greater than the latest one.
|
||||
foreach ($items as $item)
|
||||
|
||||
Reference in New Issue
Block a user