Skip to content

Commit 25d3bb3

Browse files
committed
Renamed base_query query method to addQuery
1 parent 680261e commit 25d3bb3

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/lib/models/base_query.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -422,12 +422,12 @@ public function notEqualTo($field = '', $value = '') {
422422
}
423423

424424
/*
425-
* query is used to add the raw/array query to filter the entries
425+
* addQuery is used to add the raw/array query to filter the entries
426426
* @param
427427
* array|query - array formatted query
428428
* @return Query
429429
* */
430-
public function query($_query = array()) {
430+
public function addQuery($_query = array()) {
431431
if($_query && is_array($_query)) {
432432
$this->subQuery = json_encode($_query);
433433
return $this->queryObject;

test/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
# PHP SDK for Built.io Contentstack - Unit Testing
1+
# PHP SDK for Contentstack - Unit Testing
22

33
## Prerequisite
4-
- Built.io Contentstack Account
4+
- Contentstack Account
55

66
## Install phpunit
77

0 commit comments

Comments
 (0)