@@ -118,12 +118,12 @@ |
||
118 | 118 | return $this->_client->indices()->create($params); |
119 | 119 | } |
120 | 120 | |
121 | - public function drop($silent=false) |
|
121 | + public function drop($silent = false) |
|
122 | 122 | { |
123 | 123 | $params = [ |
124 | 124 | 'index' => $this->_index, |
125 | 125 | ]; |
126 | - if($silent===true) { |
|
126 | + if ($silent === true) { |
|
127 | 127 | $params['body'] = ['silent'=>true]; |
128 | 128 | } |
129 | 129 | return $this->_client->indices()->drop($params); |