79587322

Date: 2025-04-22 19:39:03
Score: 1
Natty:
Report link

Use in service provider

Paginator::queryStringResolver(function () {
    $query = $this->app['request']->query();
    array_walk_recursive($query, function (&$value) {
        if ($value === null) {
            $value = '';
        }
    });
    return $query;
});
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Алексей Лялюшко