Closed soullivaneuh closed 7 years ago
The Parser class does not manage any internal property and just has two pars method.
Parser
Making them static would make more senses and would make a simpler usage:
$diffs = Parser::parse($diffsContent);
The world is a better place for every method that is not static.
Well, would you mind to elaborate a bit? :-)
The
Parser
class does not manage any internal property and just has two pars method.Making them static would make more senses and would make a simpler usage: