From 32a54f5005d55efe6ef08dbe7a032583433f5aaa Mon Sep 17 00:00:00 2001 From: Chris Morrell Date: Sat, 22 Jan 2022 20:40:00 -0500 Subject: [PATCH] Fix static call --- src/Casters/CustomCaster.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();