Skip to content

Commit 593b714

Browse files
Apply fixes from StyleCI (#22)
1 parent f912375 commit 593b714

File tree

15 files changed

+31
-45
lines changed

15 files changed

+31
-45
lines changed

src/Builder/Builder.php

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class Builder
3232
/**
3333
* Builder constructor.
3434
*
35-
* @param Model $model
35+
* @param Model $model
3636
*/
3737
public function __construct(Model $model)
3838
{
@@ -47,7 +47,6 @@ public function __construct(Model $model)
4747
*
4848
* @param $method
4949
* @param $parameters
50-
*
5150
* @return Builder
5251
*/
5352
public function __call($method, $parameters)
@@ -77,8 +76,7 @@ public function __call($method, $parameters)
7776
/**
7877
* @param $model
7978
* @param $name
80-
* @param array ...$args
81-
*
79+
* @param array ...$args
8280
* @return Builder
8381
*/
8482
public static function make($model, $name, ...$args)
@@ -100,8 +98,7 @@ public static function registerConstraint($class)
10098

10199
/**
102100
* @param $name
103-
* @param array ...$args
104-
*
101+
* @param array ...$args
105102
* @return mixed
106103
*/
107104
public function callScopeFunction($name, ...$args)

src/Builder/Stack.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ public function __construct()
2121
}
2222

2323
/**
24-
* @param QueryConstraint $constraint
25-
* @param bool $or
24+
* @param QueryConstraint $constraint
25+
* @param bool $or
2626
* @return Stack
2727
*/
2828
public function apply(QueryConstraint $constraint, $or = false)
@@ -61,7 +61,7 @@ protected function push($constraint)
6161
}
6262

6363
/**
64-
* @param Stack $stack
64+
* @param Stack $stack
6565
* @param $model
6666
* @return bool
6767
*/
@@ -73,7 +73,7 @@ public function check($model)
7373
}
7474

7575
/**
76-
* @param Collection $track
76+
* @param Collection $track
7777
* @param $model
7878
* @return bool
7979
*/

src/Builder/Where.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class Where implements QueryConstraint
2525
/**
2626
* Where constructor.
2727
*
28-
* @param array ...$args
28+
* @param array ...$args
2929
*/
3030
public function __construct(...$args)
3131
{
@@ -34,7 +34,6 @@ public function __construct(...$args)
3434

3535
/**
3636
* @param $model
37-
*
3837
* @return bool
3938
*/
4039
public function check($model)
@@ -85,8 +84,7 @@ protected function isSubQuery()
8584
/**
8685
* @param $property
8786
* @param $operator
88-
* @param null $value
89-
*
87+
* @param null $value
9088
* @return array
9189
*/
9290
protected function normalize($property, $operator = null, $value = null)

src/Builder/WhereBetween.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ public function __construct($property, $range)
3333

3434
/**
3535
* @param $model
36-
*
3736
* @return bool
3837
*/
3938
public function check($model)

src/Builder/WhereColumn.php

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ class WhereColumn implements QueryConstraint
2525
/**
2626
* WhereColumn constructor.
2727
*
28-
* @param mixed $property
29-
* @param mixed $operator
30-
* @param mixed $propertyToCompare
28+
* @param mixed $property
29+
* @param mixed $operator
30+
* @param mixed $propertyToCompare
3131
*/
3232
public function __construct($property, $operator, $propertyToCompare)
3333
{
@@ -38,7 +38,6 @@ public function __construct($property, $operator, $propertyToCompare)
3838

3939
/**
4040
* @param $model
41-
*
4241
* @return bool
4342
*/
4443
public function check($model)

src/Builder/WhereIn.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ public function __construct($property, $haystack)
3333

3434
/**
3535
* @param $model
36-
*
3736
* @return bool
3837
*/
3938
public function check($model)

src/Builder/WhereNotBetween.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ class WhereNotBetween extends WhereBetween
66
{
77
/**
88
* @param $model
9-
*
109
* @return bool
1110
*/
1211
public function check($model)

src/Builder/WhereNotIn.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ class WhereNotIn extends WhereIn
66
{
77
/**
88
* @param $model
9-
*
109
* @return bool
1110
*/
1211
public function check($model)

src/Builder/WhereNotNull.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ public function __construct($property)
2323

2424
/**
2525
* @param $model
26-
*
2726
* @return bool
2827
*/
2928
public function check($model)

src/Builder/WhereNull.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ public function __construct($property)
2323

2424
/**
2525
* @param $model
26-
*
2726
* @return bool
2827
*/
2928
public function check($model)

0 commit comments

Comments
 (0)