Skip to content

Commit 8a5bed3

Browse files
Merge pull request #2 from modus-digital/codex/modify-column--make-for-static-binding
Fix Column make method binding
2 parents f54a686 + 3e40764 commit 8a5bed3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Columns/Column.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ public function __construct(string $name)
3232
$this->field = strtolower(str_replace(' ', '_', $name));
3333
}
3434

35-
public static function make(string $name): self
35+
public static function make(string $name): static
3636
{
37-
return new self($name);
37+
return new static($name);
3838
}
3939

4040
public function field(string $field): self

0 commit comments

Comments
 (0)