diff --git a/src/Casters/CustomCaster.php b/src/Casters/CustomCaster.php index cd1ea77..8600f94 100644 --- a/src/Casters/CustomCaster.php +++ b/src/Casters/CustomCaster.php @@ -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();