diff --git a/src/Mvc/Model/Traits/Count.php b/src/Mvc/Model/Traits/Count.php index 4a5e16e7..4d424aff 100644 --- a/src/Mvc/Model/Traits/Count.php +++ b/src/Mvc/Model/Traits/Count.php @@ -20,7 +20,8 @@ */ trait Count { - public static function subCount(mixed $find) { + public static function subCount(mixed $find) + { $find ??= []; $find = is_array($find) ? $find : [$find]; diff --git a/src/Mvc/Model/Traits/Relationship.php b/src/Mvc/Model/Traits/Relationship.php index 2c3c06c3..97218502 100644 --- a/src/Mvc/Model/Traits/Relationship.php +++ b/src/Mvc/Model/Traits/Relationship.php @@ -644,7 +644,6 @@ public function postSaveRelatedRecordsAfter(RelationInterface $relation, $relate ]); return false; } - } return true;