Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / vendor / drush / drush / tests / resources / modules / d8 / woot / src / Controller / WootController.php
index 4f9234d019e58034ebde64cc5052eeb44c9aba4c..63bb2b9988043d379f1e6bf99360fa6ecb2370e8 100644 (file)
@@ -14,18 +14,19 @@ use Drupal\Core\Controller\ControllerBase;
  *
  * @package Drupal\woot\Controller
  */
-class WootController extends ControllerBase {
+class WootController extends ControllerBase
+{
   /**
    * Woot.
    *
-   * @return string
+   * @return array
    *   Return Hello string.
    */
-  public function woot() {
-    return [
+    public function woot()
+    {
+        return [
         '#type' => 'markup',
         '#markup' => $this->t('Woot!')
-    ];
-  }
-
+        ];
+    }
 }