Update NiceDate.php

remove : magic method because can't use in abstract class.
fix : message error php version