Skip to content
This repository has been archived by the owner on Nov 2, 2018. It is now read-only.

Commit

Permalink
Changed method signature of Zepto\PluginInterface::after_file_load()
Browse files Browse the repository at this point in the history
  • Loading branch information
hassankhan committed Nov 18, 2013
1 parent b8c247a commit 42dc9aa
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion library/Zepto/PluginInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public function request_url(&$url);

public function before_file_load(&$file);

public function after_file_load(&$file, &$content);
public function after_file_load(&$content);

// Move all these methods into their own classes
// public function before_file_meta_parsed(&$headers);
Expand Down
2 changes: 1 addition & 1 deletion plugins/ExamplePlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public function before_file_load(&$file)
echo '1';
}

public function after_file_load(&$file, &$content)
public function after_file_load(&$content)
{
echo '1';
}
Expand Down
2 changes: 1 addition & 1 deletion plugins/OtherExamplePlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public function before_file_load(&$file)
echo '2';
}

public function after_file_load(&$file, &$content)
public function after_file_load(&$content)
{
echo '2';
}
Expand Down

0 comments on commit 42dc9aa

Please sign in to comment.