diff --git a/tests/VirtualColumnTest.php b/tests/VirtualColumnTest.php index 1ec2506..a35043e 100644 --- a/tests/VirtualColumnTest.php +++ b/tests/VirtualColumnTest.php @@ -189,22 +189,12 @@ class FooModel extends Model class EncryptedCast implements CastsAttributes { - /** - * Cast the given value. - * - * @param array $attributes - */ - public function get(Model $model, string $key, mixed $value, array $attributes): mixed + public function get($model, $key, $value, $attributes) { return Crypt::decryptString($value); } - /** - * Prepare the given value for storage. - * - * @param array $attributes - */ - public function set(Model $model, string $key, mixed $value, array $attributes): mixed + public function set($model, $key, $value, $attributes) { return Crypt::encryptString($value); }