Quellcode durchsuchen

Update SearchData.php

admin@web.or.kr vor 4 Monaten
Ursprung
Commit
2c7e52ffd9
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      app/Models/DTO/SearchData.php

+ 1 - 1
app/Models/DTO/SearchData.php

@@ -13,7 +13,7 @@ class SearchData implements Responsable
     public function __construct(
         public int $page = 1,
         public int $perPage = DEFAULT_LIST_PER_PAGE,
-        public int $pageCount,
+        public int $pageCount = DEFAULT_LIST_PAGE_COUNT,
         public int $offset = 0,
         public ?int $sort = null,
         public ?string $field = null,