If I add a little amount of acid or base to a buffer solution, the pH of the buffer won't change. That's what the diagramatic mechanism tells us.
But according to Henderson–Hasselbalch equation, the $\mathrm{pH}$ changes!
For example, a buffer solution of $\ce{CH3COOH}$ and $\ce{CH3COONa}$:
$$\mathrm{pH} = \mathrm{p}K_\mathrm{a} + \log\left(\frac{[\ce{CH3COONa}]}{[\ce{CH3COOH}]}\right)$$
Now I add a little amount of acid $(\pu{0.01M},\;\pu{5 mL}).$ It disturbs $\ce{CH3COONa}$. Reaction:
$$\ce{CH3COONa + HCl -> CH3COOH + H2O}$$
It is noticed here that a small amount of $\ce{CH3COOH}$ is produced and a little amount of $\ce{CH3COONa}$ is spared. So simply $[\ce{CH3COOH}]$ and $[\ce{CH3COONa}]$ go high and low, respectively. As a result, the ratio between $\ce{CH3COONa}$ and $\ce{CH3COOH}$ decreases. As the $\mathrm{pH}$ depends on the ratio, the $\mathrm{pH}$ changes as well.