Completed
Push — master ( f63c2e...3d45a5 )
by Sergey
11:19
created
src/ElasticsearchModel.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace Isswp101\Persimmon;
4 4
 
5 5
 use Elasticsearch\Client;
6
-use Illuminate\Contracts\Logging\Log;
7 6
 use Isswp101\Persimmon\DAL\ElasticsearchDAL;
8 7
 use Isswp101\Persimmon\Traits\Elasticsearchable;
9 8
 use Isswp101\Persimmon\Traits\Mappingable;
Please login to merge, or discard this patch.
src/Elasticsearch/InnerHits.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -11,6 +11,9 @@
 block discarded – undo
11 11
         $this->hits = array_get($response, 'inner_hits', []);
12 12
     }
13 13
 
14
+    /**
15
+     * @param string $parentType
16
+     */
14 17
     public function getParentId($parentType)
15 18
     {
16 19
         return array_get($this->hits, 'inner_hits.' . $parentType . '.hits.hits.0._id');
Please login to merge, or discard this patch.