Update UnitOfWork.php

Fixed typo (end parenthesis in wrong place)