Since $lineEnding is declared private, accessing it with static will lead to errors in possible sub-classes; you can either use self, or increase the visibility of $lineEnding to at least protected.
Since $lineEnding is declared private, accessing it with static will lead to errors in possible sub-classes; you can either use self, or increase the visibility of $lineEnding to at least protected.