Put back google social login
This commit is contained in:
@@ -24,6 +24,6 @@ class CollectionOrNull implements CastsAttributes
|
||||
*/
|
||||
public function set(Model $model, string $key, mixed $value, array $attributes): mixed
|
||||
{
|
||||
return $value->count() ? json_encode($value) : NULL;
|
||||
return count($value) ? json_encode($value) : NULL;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user