1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-05 21:14:03 +00:00

readability

This commit is contained in:
Abrar Ahmad 2022-11-04 12:55:46 +05:00
parent 3187a9c5a8
commit a89d5bd5fa

View file

@ -14,7 +14,7 @@ class TenantPivot extends Pivot
static::saved(function (self $pivot) { static::saved(function (self $pivot) {
$parent = $pivot->pivotParent; $parent = $pivot->pivotParent;
if (($parent instanceof Syncable) && $parent->shouldSync()) { if ($parent instanceof Syncable && $parent->shouldSync()) {
$parent->triggerSyncEvent(); $parent->triggerSyncEvent();
} }
}); });