$nodeIds */ public function attach(Mount $mount, array $nodeIds): void { $mount->nodes()->syncWithoutDetaching($nodeIds); } }