@@ -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') |
@@ -208,7 +209,7 @@ discard block |
||
| 208 | 209 | * @param bool $save |
| 209 | 210 | * Indicate whether to directly save the entity or not. |
| 210 | 211 | * |
| 211 | - * @return EntityInterface |
|
| 212 | + * @return \Drupal\Core\Entity\EntityInterface |
|
| 212 | 213 | * Entity object. |
| 213 | 214 | */ |
| 214 | 215 | public function entityCreate($entity_type, $values, $save = TRUE) { |