intercom-php icon indicating copy to clipboard operation
intercom-php copied to clipboard

Make internal methods private

Open ivastly opened this issue 1 year ago • 0 comments

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).

ivastly avatar Nov 04 '24 16:11 ivastly