phpdoc: @return void and avoid magic numbers