dry v2.9

Error
Call to a member function amount() on null