2525use PDPhilip \Elasticsearch \Exceptions \QueryException ;
2626use PDPhilip \Elasticsearch \Laravel \Compatibility \Connection \ConnectionCompatibility ;
2727use PDPhilip \Elasticsearch \Query \Builder ;
28- use PDPhilip \Elasticsearch \Query \Processor ;
2928use PDPhilip \Elasticsearch \Schema \Blueprint ;
3029use PDPhilip \Elasticsearch \Traits \HasOptions ;
3130use RuntimeException ;
3837/**
3938 * @mixin Client
4039 *
41- * @method Processor getPostProcessor()
40+ * @method Query\Processor\ Processor getPostProcessor()
4241 */
4342class Connection extends BaseConnection
4443{
@@ -55,7 +54,7 @@ class Connection extends BaseConnection
5554 protected string $ connectionName = '' ;
5655
5756 /**
58- * @var Query\Processor
57+ * @var Query\Processor\Processor
5958 */
6059 protected $ postProcessor ;
6160
@@ -82,7 +81,7 @@ public function __construct(array $config)
8281
8382 $ this ->connection = $ this ->createConnection ();
8483
85- $ this ->postProcessor = new Query \Processor ;
84+ $ this ->postProcessor = new Query \Processor \ Processor ;
8685
8786 $ this ->useDefaultSchemaGrammar ();
8887
@@ -326,9 +325,9 @@ public function getSchemaBuilder()
326325 }
327326
328327 /** {@inheritdoc} */
329- protected function getDefaultPostProcessor (): Query \Processor
328+ protected function getDefaultPostProcessor (): Query \Processor \ Processor
330329 {
331- return new Query \Processor ;
330+ return new Query \Processor \ Processor ;
332331 }
333332
334333 public function getDefaultLimit (): int
0 commit comments