@@ -109,7 +109,7 @@ |
||
109 | 109 | * The filename of the screenshot (complete). |
110 | 110 | * @param string $message |
111 | 111 | * The message to be printed. @file_name will be replaced with $file name. |
112 | - * @param bool|true $ext |
|
112 | + * @param boolean $ext |
|
113 | 113 | * Whether to add .png or .html to the name of the screenshot. |
114 | 114 | */ |
115 | 115 | public function createScreenshot($file_name, $message, $ext = TRUE) { |
@@ -101,7 +101,7 @@ |
||
101 | 101 | * @param string $value |
102 | 102 | * Parameter value. |
103 | 103 | * |
104 | - * @return mixed |
|
104 | + * @return boolean|string |
|
105 | 105 | * Casted value. |
106 | 106 | */ |
107 | 107 | protected function castParameter($value) { |
@@ -133,6 +133,7 @@ discard block |
||
133 | 133 | |
134 | 134 | /** |
135 | 135 | * {@inheritdoc} |
136 | + * @param string $menu_name |
|
136 | 137 | */ |
137 | 138 | public function loadMenuItemByTitle($menu_name, $title) { |
138 | 139 | $items = \Drupal::entityTypeManager()->getStorage('menu_link_content') |
@@ -337,7 +338,7 @@ discard block |
||
337 | 338 | * @param array $values |
338 | 339 | * Entity values. |
339 | 340 | * |
340 | - * @return \Drupal\Core\Entity\EntityInterface |
|
341 | + * @return string |
|
341 | 342 | * Entity object. |
342 | 343 | */ |
343 | 344 | protected function getStubEntity($entity_type, array $values) { |