Skip to content

Commit

Permalink
Bring document score to end of fn args in add method
Browse files Browse the repository at this point in the history
  • Loading branch information
foadyousefi committed Jan 30, 2019
1 parent 133ca64 commit f0d28d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Index.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public function create( $index_name = null, $schema = array(), $stop_words = nul
* @param
* @return object $this
*/
public function add($index_name = null, $id = 0, $score = 1, $indexing_options = null) {
public function add($index_name = null, $id = 0, $indexing_options = null, $score = 1) {
if ( !isset( $index_name ) ) {
return;
}
Expand Down

0 comments on commit f0d28d3

Please sign in to comment.