Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Wilson committed Jun 27, 2016
1 parent 2f22eeb commit 240526c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/Traits/LoadsFilesTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ protected function initializeFileLoader(FileLoader $fileLoader = null)
*
* @param array $files an array of SplFileInfo Objects
* @param $append boolean true, if data should be appended to the manager.
* @param bool $namespace
* @return array
*/
public function loadFiles(array $files, $append = false, $namespace = true)
Expand All @@ -50,7 +51,7 @@ public function loadFiles(array $files, $append = false, $namespace = true)

public function loadFile($file, $append = false, $namespace = true)
{
return $this->loadFiles([$file], $append, $namespace = true);
return $this->loadFiles([$file], $append, $namespace);
}

/**
Expand Down
2 changes: 1 addition & 1 deletion tests/Unit/FileLoaderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ public function test_using_no_namespaces()

$actual = $fileLoader->process(false);

$this->assertEquals($expected, $actual, "failed to disaple namespacing");
$this->assertEquals($expected, $actual, "failed to disable namespacing");
}

public function test_loading_files_as_a_path()
Expand Down

0 comments on commit 240526c

Please sign in to comment.