Fix #7163
Fix #7163

Added `**hints`, now `integrate((sign(x - 1) - sign(x - 2))*cos(x), x)` doesn't raise TypeError

souravsingh/sympy,yashsharan/sympy,chaffra/sympy,yashsharan/sympy,mafiya69/sympy,yashsharan/sympy,kaushik94/sympy,aktech/sympy,madan96/sympy,sampadsaha5/sympy,mafiya69/sympy,kaushik94/sympy,Titan-C/sympy,souravsingh/sympy,postvakje/sympy,hargup/sympy,mafiya69/sympy,lindsayad/sympy,drufat/sympy,rahuldan/sympy,jaimahajan1997/sympy,sampadsaha5/sympy,ChristinaZografou/sympy,kaushik94/sympy,drufat/sympy,rahuldan/sympy,lindsayad/sympy,hargup/sympy,ChristinaZografou/sympy,skidzo/sympy,madan96/sympy,jerli/sympy,chaffra/sympy,Titan-C/sympy,skidzo/sympy,hargup/sympy,madan96/sympy,rahuldan/sympy,Curious72/sympy,jaimahajan1997/sympy,lindsayad/sympy,chaffra/sympy,aktech/sympy,souravsingh/sympy,Curious72/sympy,sampadsaha5/sympy,Curious72/sympy,ChristinaZografou/sympy,jaimahajan1997/sympy,skidzo/sympy,aktech/sympy,Titan-C/sympy,postvakje/sympy,jerli/sympy,postvakje/sympy,jerli/sympy,drufat/sympy