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 / ServiceProvider.php
index 9a159bf1c2d958af10ec5e291059cfc451aef535..aea23b22144e81c3a2f2251975411e503d581f9c 100644 (file)
@@ -21,7 +21,7 @@ class ServiceProvider extends BaseGenerator {
    */
   protected function interact(InputInterface $input, OutputInterface $output) {
     $vars = &$this->collectVars($input, $output, Utils::defaultQuestions());
-    $vars['class'] = Utils::camelize($vars['name'] . 'ServiceProvider');
+    $vars['class'] = Utils::camelize($vars['name']) . 'ServiceProvider';
     $this->addFile()
       ->path('src/{class}.php')
       ->template('d8/service-provider.twig');