core/domain/services/graphql/connection_resolvers/DatetimeConnectionResolver.php 1 location
|
@@ 144-156 (lines=13) @@
|
| 141 |
|
* @param array $query_args |
| 142 |
|
* @return array |
| 143 |
|
*/ |
| 144 |
|
public function sanitize_input_fields(array $query_args) { |
| 145 |
|
|
| 146 |
|
$arg_mapping = [ |
| 147 |
|
'orderBy' => 'order_by', |
| 148 |
|
'order' => 'order', |
| 149 |
|
]; |
| 150 |
|
|
| 151 |
|
/** |
| 152 |
|
* Return the Query Args |
| 153 |
|
*/ |
| 154 |
|
return ! empty( $query_args ) && is_array( $query_args ) ? $query_args : []; |
| 155 |
|
|
| 156 |
|
} |
| 157 |
|
|
| 158 |
|
} |
| 159 |
|
|
core/domain/services/graphql/connection_resolvers/TicketConnectionResolver.php 1 location
|
@@ 134-146 (lines=13) @@
|
| 131 |
|
* @param array $query_args |
| 132 |
|
* @return array |
| 133 |
|
*/ |
| 134 |
|
public function sanitize_input_fields(array $query_args) { |
| 135 |
|
|
| 136 |
|
$arg_mapping = [ |
| 137 |
|
'orderBy' => 'order_by', |
| 138 |
|
'order' => 'order', |
| 139 |
|
]; |
| 140 |
|
|
| 141 |
|
/** |
| 142 |
|
* Return the Query Args |
| 143 |
|
*/ |
| 144 |
|
return ! empty( $query_args ) && is_array( $query_args ) ? $query_args : []; |
| 145 |
|
|
| 146 |
|
} |
| 147 |
|
|
| 148 |
|
} |
| 149 |
|
|
core/domain/services/graphql/connection_resolvers/VenueConnectionResolver.php 1 location
|
@@ 135-147 (lines=13) @@
|
| 132 |
|
* @param array $query_args |
| 133 |
|
* @return array |
| 134 |
|
*/ |
| 135 |
|
public function sanitize_input_fields(array $query_args) { |
| 136 |
|
|
| 137 |
|
$arg_mapping = [ |
| 138 |
|
'orderBy' => 'order_by', |
| 139 |
|
'order' => 'order', |
| 140 |
|
]; |
| 141 |
|
|
| 142 |
|
/** |
| 143 |
|
* Return the Query Args |
| 144 |
|
*/ |
| 145 |
|
return ! empty( $query_args ) && is_array( $query_args ) ? $query_args : []; |
| 146 |
|
|
| 147 |
|
} |
| 148 |
|
|
| 149 |
|
} |
| 150 |
|
|