Let route names and tables move, and add manager:import

This commit is contained in:
Matthijs Iriks committed 2026-12-04 05:08:08 +01:00
1 parent 984024eb85
commit 60ad85a621
45 files changed
+491 -73

No files matched your search

+2 -1
View File
@@ -7,6 +7,7 @@ use Illuminate\Database\Query\Builder;
use Illuminate\Support\Facades\DB;
use IriksIT\Manager\Facades\Manager;
use IriksIT\Manager\Models\Post;
use IriksIT\Manager\Support\Names;
/**
* The numbers of the visitor statistics, for the manager. The only code that
@@ -735,7 +736,7 @@ final class Statistics
/** A count or sum as the database gives it (int, numeric string or null). */
private function table(string $name): string
{
return config('manager.table_prefix').$name;
return Names::table($name);
}
private static function number(mixed $value): int