Commit c72a93e1 authored by Sebastian Diez's avatar Sebastian Diez

fixes usage of Apache_Solr_Document

parent 21d993e4
Pipeline #963 passed with stages
in 1 minute and 38 seconds
...@@ -54,7 +54,7 @@ class TerIndexer extends \ApacheSolrForTypo3\Solr\IndexQueue\Indexer { ...@@ -54,7 +54,7 @@ class TerIndexer extends \ApacheSolrForTypo3\Solr\IndexQueue\Indexer {
* *
* @param Item $item An index queue item * @param Item $item An index queue item
* @param int $language Language Id * @param int $language Language Id
* @return Apache_Solr_Document The Solr document converted from the record * @return \Apache_Solr_Document The Solr document converted from the record
*/ */
protected function itemToDocument(Item $item, $language = 0) protected function itemToDocument(Item $item, $language = 0)
{ {
...@@ -78,7 +78,7 @@ class TerIndexer extends \ApacheSolrForTypo3\Solr\IndexQueue\Indexer { ...@@ -78,7 +78,7 @@ class TerIndexer extends \ApacheSolrForTypo3\Solr\IndexQueue\Indexer {
* @param array $itemRecord * @param array $itemRecord
* @return \Apache_Solr_Document * @return \Apache_Solr_Document
*/ */
public function addSpecialFields(Apache_Solr_Document $document, array $itemRecord) public function addSpecialFields(\Apache_Solr_Document $document, array $itemRecord)
{ {
$extension = $this->extensionRepository->findByUid($itemRecord['uid']); $extension = $this->extensionRepository->findByUid($itemRecord['uid']);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment