v3.26.1
Consolidated Statements of Stockholders' Equity (Parenthetical) - $ / shares
shares in Millions
12 Months Ended
Jun. 30, 2026
Jun. 30, 2025
Jun. 30, 2024
Statement of Stockholders' Equity [Abstract]      
Treasury stock acquired (in shares) 3.4 0.6 2.5
Treasury stock reissued (in shares) 0.3 1.0 1.1
Dividends declared (in dollars per share) $ 3.90 $ 3.52 $ 3.20