| @@ -48,11 +48,10 @@ | ||
| 48 | 48 | */ | 
| 49 | 49 | public function handle() | 
| 50 | 50 |      { | 
| 51 | -        $mapping = $this->formatMappingName((string)$this->argument('mapping')); | |
| 51 | +        $mapping = $this->formatMappingName((string) $this->argument('mapping')); | |
| 52 | 52 | |
| 53 | 53 |          $model = $this->option('model') ? | 
| 54 | -            $this->formatModelName($this->option('model')) : | |
| 55 | - null; | |
| 54 | +            $this->formatModelName($this->option('model')) : null; | |
| 56 | 55 | |
| 57 | 56 | $this->_filesystem->put( | 
| 58 | 57 | $this->buildMappingFilePath($mapping), | 
| @@ -32,12 +32,12 @@ | ||
| 32 | 32 | */ | 
| 33 | 33 | public function __construct(array $result) | 
| 34 | 34 |      { | 
| 35 | - $this->_took = (int)array_get($result, 'took'); | |
| 36 | - $this->_timedOut = (bool)array_get($result, 'timed_out'); | |
| 37 | - $this->_shards = (array)array_get($result, '_shards'); | |
| 35 | + $this->_took = (int) array_get($result, 'took'); | |
| 36 | + $this->_timedOut = (bool) array_get($result, 'timed_out'); | |
| 37 | + $this->_shards = (array) array_get($result, '_shards'); | |
| 38 | 38 | $this->_hits = new Collection(array_get($result, 'hits.hits')); | 
| 39 | - $this->_totalHits = (int)array_get($result, 'hits.total'); | |
| 40 | - $this->_maxScore = (float)array_get($result, 'hits.max_score'); | |
| 39 | + $this->_totalHits = (int) array_get($result, 'hits.total'); | |
| 40 | + $this->_maxScore = (float) array_get($result, 'hits.max_score'); | |
| 41 | 41 | $this->_aggregation = array_get($result, 'aggregations', null); | 
| 42 | 42 | } | 
| 43 | 43 | |