Skip to content

Commit

Permalink
[BUGFIX] Allow NULL plugins to be massaged
Browse files Browse the repository at this point in the history
  • Loading branch information
Mateu Aguiló Bosch committed Apr 6, 2016
1 parent 504c518 commit 8c0842b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Resource/ResourceManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ public function getResourceLastVersion($resource_name, $major_version = NULL) {
* @return ResourceInterface
* The transformed resource.
*/
protected function massagePlugin(ResourceInterface $plugin, RequestInterface $request = NULL) {
protected function massagePlugin(ResourceInterface $plugin = NULL, RequestInterface $request = NULL) {
if (!$plugin) {
return NULL;
}
Expand Down

0 comments on commit 8c0842b

Please sign in to comment.