소스 검색

Update SearchData.php

admin@web.or.kr 4 달 전
부모
커밋
2c7e52ffd9
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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,