Fix constants interpreted as string in some occasions

Apparently this occurs by declaring an array of constants as a variable to
a class.  So odd.
Code sniffer adhearance