44
55namespace Relaticle \Flowforge \Filament \Pages ;
66
7+ use InvalidArgumentException ;
78use Filament \Pages \Page ;
89use Illuminate \Support \Str ;
910use Relaticle \Flowforge \Adapters \DefaultKanbanAdapter ;
1314
1415abstract class KanbanBoardPage extends Page implements KanbanBoardPageInterface
1516{
16- protected static string $ view = 'flowforge::filament.pages.kanban-board-page ' ;
17+ protected string $ view = 'flowforge::filament.pages.kanban-board-page ' ;
1718
1819 /**
1920 * The Kanban configuration object.
@@ -31,6 +32,7 @@ public function __construct()
3132 /**
3233 * Set the field that stores the column value.
3334 *
35+ * @param string $field
3436 * @return KanbanBoardPage
3537 */
3638 public function columnField (string $ field ): static
@@ -43,6 +45,7 @@ public function columnField(string $field): static
4345 /**
4446 * Set the field that stores the column value.
4547 *
48+ * @param string $field
4649 * @return KanbanBoardPage
4750 */
4851 public function priorityField (string $ field ): static
@@ -67,6 +70,7 @@ public function columns(array $columns): static
6770 /**
6871 * Set the title field for the Kanban cards.
6972 *
73+ * @param string $field
7074 * @return KanbanBoardPage
7175 */
7276 public function titleField (string $ field ): static
@@ -79,6 +83,7 @@ public function titleField(string $field): static
7983 /**
8084 * Set the description field for the Kanban cards.
8185 *
86+ * @param string $field
8287 * @return KanbanBoardPage
8388 */
8489 public function descriptionField (string $ field ): static
@@ -139,6 +144,7 @@ public function columnColors(?array $colors = null): static
139144 /**
140145 * Set the order field for the Kanban board.
141146 *
147+ * @param string $field
142148 * @return KanbanBoardPage
143149 */
144150 public function orderField (string $ field ): static
@@ -151,6 +157,7 @@ public function orderField(string $field): static
151157 /**
152158 * Set the label for individual cards.
153159 *
160+ * @param string $label
154161 * @return KanbanBoardPage
155162 */
156163 public function cardLabel (string $ label ): static
@@ -170,6 +177,7 @@ public function cardLabel(string $label): static
170177 /**
171178 * Set the plural label for multiple cards.
172179 *
180+ * @param string $label
173181 * @return KanbanBoardPage
174182 */
175183 public function pluralCardLabel (string $ label ): static
@@ -182,7 +190,7 @@ public function pluralCardLabel(string $label): static
182190 /**
183191 * Get the Kanban adapter.
184192 *
185- * @throws \ InvalidArgumentException If the subject is not set
193+ * @throws InvalidArgumentException If the subject is not set
186194 */
187195 public function getAdapter (): KanbanAdapterInterface
188196 {
0 commit comments