We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
type
1 parent 774b2d3 commit 140e3c7Copy full SHA for 140e3c7
src/CacheKey.php
@@ -65,7 +65,7 @@ protected function getOrderByClauses() : string
65
66
return $orders
67
->reduce(function ($carry, $order) {
68
- if ($order['type'] === 'Raw') {
+ if (($order['type'] ?? '') === 'Raw') {
69
return $carry . '_orderByRaw_' . str_slug($order['sql']);
70
}
71
0 commit comments