Fix phpcs issue.

This commit is contained in:
Mark Story 2018-05-31 20:14:12 +00:00 committed by GitHub
parent adefb973aa
commit cc9d2fcaa3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3043,7 +3043,7 @@ class DboSource extends DataSource {
* @return string ORDER BY clause
*/
public function order($keys, $direction = 'ASC', Model $Model = null) {
$keys = array_filter((array) $keys);
$keys = array_filter((array)$keys);
$result = array();
while (!empty($keys)) {