| @@ -20,14 +20,14 @@ | ||
| 20 | 20 | { |
| 21 | 21 | /** |
| 22 | 22 | * Renders the system messages. |
| 23 | 23 | * |
| 24 | - * @param array $queue The messages queue. | |
| 24 | + * @param ?array $queue The messages queue. | |
| 25 | 25 | * @param boolean $echo True to echo the layout, false to return it. |
| 26 | 26 | * |
| 27 | 27 | * @return mixed True when the layout is echoed, otherwise the layout string. |
| 28 | 28 | */ |
| 29 | - public static function renderSystemMessages(array $queue = null, $echo = true) | |
| 29 | + public static function renderSystemMessages(?array $queue = null, $echo = true) | |
| 30 | 30 | { |
| 31 | 31 | $app = JFactory::getApplication(); |
| 32 | 32 | |
| 33 | 33 | if (is_null($queue)) |