Update Curs.php

I suggest to refactor construct like this. There is no need with the last else statement, because you already have type hinting in your consturctor. So there is no way to pass another class except DateTime