Skip to content

Commit

Permalink
By reference
Browse files Browse the repository at this point in the history
  • Loading branch information
Firesphere committed Dec 28, 2019
1 parent 65181bc commit 7a01f9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Extensions/DocumentFactoryExtension.php
Expand Up @@ -32,7 +32,7 @@ class DocumentFactoryExtension extends Extension
* @param DocumentInterface $doc
* @param DataObject|DataObjectExtension $item
*/
public function updateDefaultFields($doc, $item)
public function updateDefaultFields(&$doc, $item)
{
$doc->addField('MemberView', $item->getMemberView());
}
Expand Down

0 comments on commit 7a01f9e

Please sign in to comment.