projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
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
diff --git
a/vendor/drush/drush/tests/resources/modules/d8/woot/src/Controller/WootController.php
b/vendor/drush/drush/tests/resources/modules/d8/woot/src/Controller/WootController.php
index 4f9234d019e58034ebde64cc5052eeb44c9aba4c..63bb2b9988043d379f1e6bf99360fa6ecb2370e8 100644
(file)
--- a/
vendor/drush/drush/tests/resources/modules/d8/woot/src/Controller/WootController.php
+++ b/
vendor/drush/drush/tests/resources/modules/d8/woot/src/Controller/WootController.php
@@
-14,18
+14,19
@@
use Drupal\Core\Controller\ControllerBase;
*
* @package Drupal\woot\Controller
*/
*
* @package Drupal\woot\Controller
*/
-class WootController extends ControllerBase {
+class WootController extends ControllerBase
+{
/**
* Woot.
*
/**
* Woot.
*
- * @return
string
+ * @return
array
* Return Hello string.
*/
* Return Hello string.
*/
- public function woot() {
- return [
+ public function woot()
+ {
+ return [
'#type' => 'markup',
'#markup' => $this->t('Woot!')
'#type' => 'markup',
'#markup' => $this->t('Woot!')
- ];
- }
-
+ ];
+ }
}
}