Skip to content

Commit

Permalink
Fixed TableColumn extends bugs.
Browse files Browse the repository at this point in the history
  • Loading branch information
juneszh committed Sep 13, 2023
1 parent 893be86 commit 3491a7c
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/Admin/TableColumn.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,20 @@ class TableColumn extends TableExpand
private string $type;
private string $key;

/**
* Define the configuration index
*
* @param string $key
* @return $this
*/
public function __construct(string $type, string $key)
{
parent::__construct($type, $key);
$this->type = $type;
$this->key = $key;
return $this;
}

/**
* Whether to bind the database
*
Expand Down

0 comments on commit 3491a7c

Please sign in to comment.