@@ -12,7 +12,7 @@ |
||
12 | 12 | /** |
13 | 13 | * @param Builder $src |
14 | 14 | * @param OperationInterface|SortOperation $operation |
15 | - * @return mixed |
|
15 | + * @return Builder |
|
16 | 16 | */ |
17 | 17 | public function process($src, OperationInterface $operation) |
18 | 18 | { |
@@ -12,7 +12,7 @@ |
||
12 | 12 | /** |
13 | 13 | * @param Builder $src |
14 | 14 | * @param OperationInterface|SortOperation $operation |
15 | - * @return mixed |
|
15 | + * @return Builder |
|
16 | 16 | */ |
17 | 17 | public function process($src, OperationInterface $operation) |
18 | 18 | { |
@@ -22,10 +22,10 @@ |
||
22 | 22 | if($operator == FilterOperation::STR_STARTS_WITH){ |
23 | 23 | $operator = FilterOperation::OPERATOR_LIKE; |
24 | 24 | $value = $value."%"; |
25 | - }else if($operator == FilterOperation::STR_ENDS_WITH){ |
|
25 | + } else if($operator == FilterOperation::STR_ENDS_WITH){ |
|
26 | 26 | $operator = FilterOperation::OPERATOR_LIKE; |
27 | 27 | $value = "%".$value; |
28 | - }else if($operator == FilterOperation::STR_CONTAINS){ |
|
28 | + } else if($operator == FilterOperation::STR_CONTAINS){ |
|
29 | 29 | $operator = FilterOperation::OPERATOR_LIKE; |
30 | 30 | $value = "%".$value."%"; |
31 | 31 | } |
@@ -12,7 +12,7 @@ |
||
12 | 12 | /** |
13 | 13 | * @param Builder $src |
14 | 14 | * @param OperationInterface|SortOperation $operation |
15 | - * @return mixed |
|
15 | + * @return Builder |
|
16 | 16 | */ |
17 | 17 | public function process($src, OperationInterface $operation) |
18 | 18 | { |