Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / vendor / chi-teck / drupal-code-generator / src / Command / Drupal_8 / Service / PathProcessor.php
index 7f10e36e714e919126c5dde3412108b9bc0adbfb..69e968c639284910a4b2ec48b65ffb145206c0e8 100644 (file)
@@ -23,7 +23,7 @@ class PathProcessor extends BaseGenerator {
   protected function interact(InputInterface $input, OutputInterface $output) {
     $questions = Utils::defaultQuestions();
     $default_class = function ($vars) {
-      return Utils::camelize('PathProcessor' . $vars['name']);
+      return 'PathProcessor' . Utils::camelize($vars['name']);
     };
     $questions['class'] = new Question('Class', $default_class);