@@ -78,7 +78,7 @@ discard block |
||
78 | 78 | $this->configuration = $site->getSolrConfiguration(); |
79 | 79 | $this->site = $site; |
80 | 80 | $this->indexQueue = is_null($queue) ? GeneralUtility::makeInstance(Queue::class) : $queue; |
81 | - $this->signalSlotDispatcher = is_null($dispatcher) ? GeneralUtility::makeInstance(Dispatcher::class) : $dispatcher; |
|
81 | + $this->signalSlotDispatcher = is_null($dispatcher) ? GeneralUtility::makeInstance(Dispatcher::class) : $dispatcher; |
|
82 | 82 | } |
83 | 83 | |
84 | 84 | /** |
@@ -140,7 +140,7 @@ discard block |
||
140 | 140 | protected function generateIndexingErrorLog(Item $itemToIndex, \Exception $e) |
141 | 141 | { |
142 | 142 | $message = 'Failed indexing Index Queue item ' . $itemToIndex->getIndexQueueUid(); |
143 | - $data = [ 'code' => $e->getCode(), |
|
143 | + $data = ['code' => $e->getCode(), |
|
144 | 144 | 'message' => $e->getMessage(), |
145 | 145 | 'trace' => $e->getTrace(), |
146 | 146 | 'item' => (array)$itemToIndex]; |