[feature/migrations] Fix unfulfillable function

Returned unfulfillable name in the wrong place previously

PHPBB3-11351