Skip to content

Commit

Permalink
Fix static call
Browse files Browse the repository at this point in the history
  • Loading branch information
inxilpro committed Jan 23, 2022
1 parent a2cf245 commit 32a54f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Casters/CustomCaster.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class CustomCaster extends Caster
{
protected array $operations = [];

public function for(string $class_name): CustomCaster
public static function for(string $class_name): CustomCaster
{
$caster = new self();

Expand Down

0 comments on commit 32a54f5

Please sign in to comment.