There is an extra space after method name.

Also `$sortClauses` can be hinted as array as have empty array for default value, then you don't need the check below.