Using is_int() instead of is_numeric() to avoid unintentional loss of string keys
Using a constant for the four-space indent string
Added docblock for ::processIndented(...)
s/$array/$arraySyntax/g for clarity
Added @return void for consistency. Aligned docblock variable names