In the file TNTSearchEngine.php#152 in the map function, the keys are collected inside a collection and not as an array like in the examples from Laravel ( ElasticSearch#L233 )
That behaviour makes problems with other implementation, (example laravel-doctrine: Laravel-Doctrine#L141 ) where an array is expected.
Would it make a big problem to replace the keys to a normal array instead a collection?
In the file TNTSearchEngine.php#152 in the map function, the keys are collected inside a collection and not as an array like in the examples from Laravel ( ElasticSearch#L233 )
That behaviour makes problems with other implementation, (example laravel-doctrine: Laravel-Doctrine#L141 ) where an array is expected.
Would it make a big problem to replace the keys to a normal array instead a collection?