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

Commit

Permalink
registerImportOperation can receive more than just arrays
Browse files Browse the repository at this point in the history
  • Loading branch information
Bob Olde Hampsink committed Mar 17, 2015
1 parent 4d3fa23 commit 1ca8046
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ImportPlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,12 +94,12 @@ public function registerUserPermissions()
/**
* Register ImportOperation hook.
*
* @param array &$data
* @param &$data
* @param string $handle
*
* @return string
*/
public function registerImportOperation(array &$data, $handle)
public function registerImportOperation(&$data, $handle)
{
return craft()->import->prepForFieldType($data, $handle);
}
Expand Down

0 comments on commit 1ca8046

Please sign in to comment.