diff --git a/src/Resource/ResourceManager.php b/src/Resource/ResourceManager.php index c0c52baf..54e38da1 100644 --- a/src/Resource/ResourceManager.php +++ b/src/Resource/ResourceManager.php @@ -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; }