XML 25 R6.htm IDEA: XBRL DOCUMENT v3.8.0.1
Condensed Consolidated Statements of Stockholders' Equity (Unaudited) (Parenthetical) - $ / shares
3 Months Ended 9 Months Ended
Apr. 30, 2018
Apr. 30, 2017
Apr. 30, 2018
Apr. 30, 2017
Statement of Stockholders' Equity [Abstract]        
Dividends declared (in dollars per share) $ 0.39 $ 0.34 $ 1.17 $ 1.02