Skip to content

Commit

Permalink
SplFileInfo type case
Browse files Browse the repository at this point in the history
  • Loading branch information
samsonasik committed Aug 8, 2018
1 parent 6554812 commit cc8376c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions system/Files/File.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
* @since Version 3.0.0
* @filesource
*/
use SPLFileInfo;
use SplFileInfo;
use CodeIgniter\Files\Exceptions\FileException;
use CodeIgniter\Files\Exceptions\FileNotFoundException;

Expand All @@ -52,7 +52,7 @@ class File extends SplFileInfo
//--------------------------------------------------------------------

/**
* Run our SPLFileInfo constructor with an optional verification
* Run our SplFileInfo constructor with an optional verification
* that the path is really a file.
*
* @param string $path
Expand Down
2 changes: 1 addition & 1 deletion tests/system/Files/FileTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public function testRandomName()
$this->assertNotEquals($result1, $file->getRandomName());
}

public function testCanAccessSPLFileInfoMethods()
public function testCanAccessSplFileInfoMethods()
{
$file = new File(BASEPATH . 'Common.php');
$this->assertEquals('file', $file->getType());
Expand Down

0 comments on commit cc8376c

Please sign in to comment.