Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/FileLoader.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
abstract class FileLoader extends BaseFileLoader
{

public function load($resource, $type = null)
public function load($resource)
{
if (!stream_is_local($resource)) {
throw new \Exception(sprintf('This is not a local file "%s".', $resource));
Expand Down Expand Up @@ -46,4 +46,4 @@ public function load($resource, $type = null)
* @throws InvalidResourceException If stream content has an invalid format.
*/
abstract protected function loadResource($resource);
}
}