Fix typo in title of rule S1144 by replacing method by function