chore: code refactor via rector

This commit is contained in:
idevakk
2025-11-14 02:01:01 -08:00
parent 90ab79b3a2
commit ae795880ed
148 changed files with 1520 additions and 1486 deletions

View File

@@ -32,9 +32,7 @@ class CheckPageSlug
return response()->file($publicPath);
}
if (is_dir($publicPath)) {
abort(404);
}
abort_if(is_dir($publicPath), 404);
return $next($request);
}