Skip to content

Commit baeb2f3

Browse files
Apply fixes from StyleCI (#12)
1 parent d769c45 commit baeb2f3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Builder/Where.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class Where implements QueryConstraint
2929
*/
3030
public function __construct(...$args)
3131
{
32-
list($this->property, $this->operator, $this->value) = $this->normalize(...$args);
32+
[$this->property, $this->operator, $this->value] = $this->normalize(...$args);
3333
}
3434

3535
/**

src/Builder/WhereBetween.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public function __construct($property, $range)
3838
*/
3939
public function check($model)
4040
{
41-
list($min, $max) = $this->range;
41+
[$min, $max] = $this->range;
4242

4343
return $model->{$this->property} >= $min && $model->{$this->property} <= $max;
4444
}

0 commit comments

Comments
 (0)