Explorar el Código

Update SearchData.php

admin@web.or.kr hace 4 meses
padre
commit
2c7e52ffd9
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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,