Fix strict standards notice for non-static method
Fix strict standards notices for non-static method