@@ -229,61 +229,61 @@ public function from($from) {
229229 /**
230230 * add an exact-match query for a given property
231231 *
232- * @param $propertyName
233- * @param $propertyValue
232+ * @param string $propertyName Name of the property
233+ * @param mixed $value Value for comparison
234234 * @return ElasticSearchQueryBuilder
235235 */
236- public function exactMatch ($ propertyName , $ propertyValue ) {
237- if ($ propertyValue instanceof NodeInterface) {
238- $ propertyValue = $ propertyValue ->getIdentifier ();
236+ public function exactMatch ($ propertyName , $ value ) {
237+ if ($ value instanceof NodeInterface) {
238+ $ value = $ value ->getIdentifier ();
239239 }
240240
241- return $ this ->queryFilter ('term ' , array ($ propertyName => $ propertyValue ));
241+ return $ this ->queryFilter ('term ' , array ($ propertyName => $ value ));
242242 }
243243
244244 /**
245245 * add a range filter (gt) for the given property
246246 *
247- * @param string $propertyName
248- * @param mixed $propertyValue
247+ * @param string $propertyName Name of the property
248+ * @param mixed $value Value for comparison
249249 * @return ElasticSearchQueryBuilder
250250 */
251- public function greaterThan ($ propertyName , $ propertyValue ) {
252- return $ this ->queryFilter ('range ' , array ($ propertyName => array ('gt ' => $ propertyValue )));
251+ public function greaterThan ($ propertyName , $ value ) {
252+ return $ this ->queryFilter ('range ' , array ($ propertyName => array ('gt ' => $ value )));
253253 }
254254
255255 /**
256256 * add a range filter (gte) for the given property
257257 *
258- * @param string $propertyName
259- * @param mixed $propertyValue
258+ * @param string $propertyName Name of the property
259+ * @param mixed $value Value for comparison
260260 * @return ElasticSearchQueryBuilder
261261 */
262- public function greaterThanOrEqual ($ propertyName , $ propertyValue ) {
263- return $ this ->queryFilter ('range ' , array ($ propertyName => array ('gte ' => $ propertyValue )));
262+ public function greaterThanOrEqual ($ propertyName , $ value ) {
263+ return $ this ->queryFilter ('range ' , array ($ propertyName => array ('gte ' => $ value )));
264264 }
265265
266266 /**
267267 * add a range filter (lt) for the given property
268268 *
269- * @param string $propertyName
270- * @param mixed $propertyValue
269+ * @param string $propertyName Name of the property
270+ * @param mixed $value Value for comparison
271271 * @return ElasticSearchQueryBuilder
272272 */
273- public function lessThan ($ propertyName , $ propertyValue ) {
274- return $ this ->queryFilter ('range ' , array ($ propertyName => array ('lt ' => $ propertyValue )));
273+ public function lessThan ($ propertyName , $ value ) {
274+ return $ this ->queryFilter ('range ' , array ($ propertyName => array ('lt ' => $ value )));
275275 }
276276
277277
278278 /**
279279 * add a range filter (lte) for the given property
280280 *
281- * @param string $propertyName
282- * @param mixed $propertyValue
281+ * @param string $propertyName Name of the property
282+ * @param mixed $value Value for comparison
283283 * @return ElasticSearchQueryBuilder
284284 */
285- public function lessThanOrEqual ($ propertyName , $ propertyValue ) {
286- return $ this ->queryFilter ('range ' , array ($ propertyName => array ('lte ' => $ propertyValue )));
285+ public function lessThanOrEqual ($ propertyName , $ value ) {
286+ return $ this ->queryFilter ('range ' , array ($ propertyName => array ('lte ' => $ value )));
287287 }
288288
289289 /**
0 commit comments