Commit adf4dd56 authored by Dorian Villet's avatar Dorian Villet

Removed unused lines of codes.

parent f3e63558
...@@ -38,7 +38,6 @@ ...@@ -38,7 +38,6 @@
*/ */
namespace Solarium\Plugin\BufferedAdd\Event; namespace Solarium\Plugin\BufferedAdd\Event;
use Symfony\Component\EventDispatcher\Event; use Symfony\Component\EventDispatcher\Event;
use Solarium\QueryType\Update\Result;
use Solarium\QueryType\Select\Result\DocumentInterface; use Solarium\QueryType\Select\Result\DocumentInterface;
/** /**
......
...@@ -62,7 +62,6 @@ class Spellcheck extends ResponseParserAbstract implements ComponentParserInterf ...@@ -62,7 +62,6 @@ class Spellcheck extends ResponseParserAbstract implements ComponentParserInterf
*/ */
public function parse($query, $spellcheck, $data) public function parse($query, $spellcheck, $data)
{ {
$results = array();
if ( if (
isset($data['spellcheck']['suggestions']) && isset($data['spellcheck']['suggestions']) &&
is_array($data['spellcheck']['suggestions']) && is_array($data['spellcheck']['suggestions']) &&
......
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