We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -66,20 +66,20 @@ |
||
66 | 66 | |
67 | 67 | // if a closure was passed as "filter_logic" |
68 | 68 | if ($this->doingListOperation()) { |
69 | - if ( $this->request->has( $options['name'] ) ) { |
|
70 | - if ( is_callable( $filter_logic ) ) { |
|
71 | - // apply it |
|
72 | - $filter_logic( $this->request->input( $options['name'] ) ); |
|
73 | - } else { |
|
74 | - $this->addDefaultFilterLogic( $filter->name, $filter_logic ); |
|
75 | - } |
|
76 | - } else { |
|
77 | - //if the filter is not active, but fallback logic was supplied |
|
78 | - if ( is_callable( $fallback_logic ) ) { |
|
79 | - // apply the fallback logic |
|
80 | - $fallback_logic(); |
|
81 | - } |
|
82 | - } |
|
69 | + if ( $this->request->has( $options['name'] ) ) { |
|
70 | + if ( is_callable( $filter_logic ) ) { |
|
71 | + // apply it |
|
72 | + $filter_logic( $this->request->input( $options['name'] ) ); |
|
73 | + } else { |
|
74 | + $this->addDefaultFilterLogic( $filter->name, $filter_logic ); |
|
75 | + } |
|
76 | + } else { |
|
77 | + //if the filter is not active, but fallback logic was supplied |
|
78 | + if ( is_callable( $fallback_logic ) ) { |
|
79 | + // apply the fallback logic |
|
80 | + $fallback_logic(); |
|
81 | + } |
|
82 | + } |
|
83 | 83 | } |
84 | 84 | } |
85 | 85 |