@@ -570,25 +570,36 @@ public function makeHidden($attributes)
570570 }
571571
572572 /**
573- * Make the given, typically hidden , attributes visible across the entire collection.
573+ * Merge the given, typically visible , attributes hidden across the entire collection.
574574 *
575575 * @param array<array-key, string>|string $attributes
576576 * @return $this
577577 */
578- public function makeVisible ($ attributes )
578+ public function mergeHidden ($ attributes )
579579 {
580- return $ this ->each ->makeVisible ($ attributes );
580+ return $ this ->each ->mergeHidden ($ attributes );
581581 }
582582
583583 /**
584- * Merge the given, typically visible, attributes hidden across the entire collection.
584+ * Set the hidden attributes across the entire collection.
585+ *
586+ * @param array<int, string> $hidden
587+ * @return $this
588+ */
589+ public function setHidden ($ hidden )
590+ {
591+ return $ this ->each ->setHidden ($ hidden );
592+ }
593+
594+ /**
595+ * Make the given, typically hidden, attributes visible across the entire collection.
585596 *
586597 * @param array<array-key, string>|string $attributes
587598 * @return $this
588599 */
589- public function mergeHidden ($ attributes )
600+ public function makeVisible ($ attributes )
590601 {
591- return $ this ->each ->mergeHidden ($ attributes );
602+ return $ this ->each ->makeVisible ($ attributes );
592603 }
593604
594605 /**
@@ -613,17 +624,6 @@ public function setVisible($visible)
613624 return $ this ->each ->setVisible ($ visible );
614625 }
615626
616- /**
617- * Set the hidden attributes across the entire collection.
618- *
619- * @param array<int, string> $hidden
620- * @return $this
621- */
622- public function setHidden ($ hidden )
623- {
624- return $ this ->each ->setHidden ($ hidden );
625- }
626-
627627 /**
628628 * Append an attribute across the entire collection.
629629 *
0 commit comments