@@ -44,7 +44,7 @@ |
||
| 44 | 44 | }); |
| 45 | 45 | |
| 46 | 46 | if(!count($whitelistModels)) { |
| 47 | - return $collection->diff($ignoreModels)->sort(); |
|
| 47 | + return $collection->diff($ignoreModels)->sort(); |
|
| 48 | 48 | } |
| 49 | 49 | |
| 50 | 50 | return $collection->filter(function (string $className) use ($whitelistModels) { |