Matthew McConaughey has been granted a restraining order