intercom-php
intercom-php copied to clipboard
Make internal methods private
Why?
There are many identical public methods called somethingPath().
They are 100% internal.
There is no need to expose them to the outside world.
Moreover, these methods clutter the public interface and confuse the clients of the code.
The idea is to make them private.
How?
Methods are made private, redundant tests removed (as we don't test private methods).