The final declaration must precede the visibility declaration

From phpcs

Change-Id: I87592615014f39eff2a299cf578e8889afd902f7