Skip to content

Commit 509df69

Browse files
committed
fix
1 parent 133269e commit 509df69

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/LaravelElasticsearchQueryBuilder.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -981,7 +981,7 @@ public function find($key) {
981981

982982
/**
983983
* @param $key
984-
* @return mixed
984+
* @return boolean
985985
* @throws \Exception
986986
*/
987987
public function delete($key) {
@@ -999,7 +999,7 @@ public function delete($key) {
999999
return false;
10001000
}
10011001

1002-
return $result['found'];
1002+
return true;
10031003
}
10041004

10051005
/**

0 commit comments

Comments
 (0)