Update Controller/Component/UploadComponent.php

Added visibility keyword