Update PublishTemplatesCommand.php

updates to work with laravel 5