Have you heard about Boy Scout Rule ?
I am sure that you would have implemented it many times before.
Let’s see what exactly it says :- Always leave the code cleaner than you found it- Encourages continuous…
OCP is second principle of SOLID , most important one and it is linked with SRP.