Skip to content
This repository was archived by the owner on May 30, 2023. It is now read-only.

Commit 73d0f1b

Browse files
author
Robert Kummer
authored
access modifiers added
1 parent da7aa28 commit 73d0f1b

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

src/Contracts/Repositories/Conditions/TakesConditions.php

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -10,73 +10,73 @@ interface TakesConditions
1010
* @param mixed $value
1111
* @return $this
1212
*/
13-
function where($fieldOrClosure, $operatorOrValue = null, $value = null);
13+
public function where($fieldOrClosure, $operatorOrValue = null, $value = null);
1414

1515
/**
1616
* @param string $field
1717
* @param array $possibleValues
1818
* @return $this
1919
*/
20-
function whereIn($field, $possibleValues);
20+
public function whereIn($field, $possibleValues);
2121

2222
/**
2323
* @param string $string
2424
* @param mixed $param
2525
* @return $this
2626
*/
27-
function whereHas($string, $param);
27+
public function whereHas($string, $param);
2828

2929
/**
3030
* @param string $field
3131
* @param bool $descending defaults to false
3232
* @return $this
3333
*/
34-
function orderBy($field, $descending = false);
34+
public function orderBy($field, $descending = false);
3535

3636
/**
3737
* @param int $limit
3838
* @return $this
3939
*/
40-
function limit($limit);
40+
public function limit($limit);
4141

4242
/**
4343
* @param string $field
4444
* @return $this
4545
*/
46-
function whereNotNull($field);
46+
public function whereNotNull($field);
4747

4848
/**
4949
* @param string $field
5050
* @return $this
5151
*/
52-
function whereNull($field);
52+
public function whereNull($field);
5353

5454
/**
5555
* @param string|\Closure $fieldOrClosure
5656
* @param string|mixed $operatorOrValue
5757
* @param mixed $value
5858
* @return $this
5959
*/
60-
function orWhere($fieldOrClosure, $operatorOrValue = null, $value = null);
60+
public function orWhere($fieldOrClosure, $operatorOrValue = null, $value = null);
6161

6262
/**
6363
* @param mixed $query
6464
* @return $this
6565
*/
66-
function select($query);
66+
public function select($query);
6767

6868
/**
6969
* @param string $field
7070
* @param float $value
7171
* @return $this
7272
*/
73-
function boost($field, $value);
73+
public function boost($field, $value);
7474

7575
/**
7676
* @param int $offset
7777
* @return $this
7878
*/
79-
function offset($offset);
79+
public function offset($offset);
8080

8181
/**
8282
* @param string $name
@@ -85,7 +85,7 @@ function offset($offset);
8585
* @param null $limit
8686
* @return $this
8787
*/
88-
function addFacet($name, $field, $min = null, $limit = null);
88+
public function addFacet($name, $field, $min = null, $limit = null);
8989

9090
/**
9191
* @param string $name
@@ -95,9 +95,9 @@ function addFacet($name, $field, $min = null, $limit = null);
9595
* @param mixed $end
9696
* @return $this
9797
*/
98-
function addFacetRange($name, $field, $start, $gap, $end);
98+
public function addFacetRange($name, $field, $start, $gap, $end);
9999

100-
/**
100+
/**
101101
* Also search for related items with the next query
102102
*
103103
* @param $fields
@@ -106,7 +106,7 @@ function addFacetRange($name, $field, $start, $gap, $end);
106106
* @param int $count
107107
* @return $this
108108
*/
109-
function addMoreLikeThis($fields, $minimumDocFrequency = null, $minimumTermFrequency = null, $count = null);
109+
public function addMoreLikeThis($fields, $minimumDocFrequency = null, $minimumTermFrequency = null, $count = null);
110110

111111
/**
112112
* @param $table
@@ -115,5 +115,5 @@ function addMoreLikeThis($fields, $minimumDocFrequency = null, $minimumTermFrequ
115115
* @param $field2
116116
* @return mixed
117117
*/
118-
function join($table, $field1, $condition, $field2);
118+
public function join($table, $field1, $condition, $field2);
119119
}

0 commit comments

Comments
 (0)