Skip to content
Snippets Groups Projects
Commit e5e8997d authored by Igor Biki's avatar Igor Biki
Browse files

ISTWCMS-7275: Fix minor syntax consistency in error message rendering.

A trailing comma was added to ensure consistent syntax formatting across multiple block plugins. This change does not impact functionality but improves code readability and adherence to coding standards.
parent 446a0cf1
No related branches found
No related tags found
1 merge request!46ISTWCMS-7275: Refactor block classes to rename and streamline logic.
......@@ -101,7 +101,7 @@ class ReferenceAuthorsBlock extends BlockBase implements ContainerFactoryPluginI
// before using view, to prevent call function on null errors.
if (!$view) {
return [
'#markup' => $this->t('There was an error loading the block.')
'#markup' => $this->t('There was an error loading the block.'),
];
}
......
......@@ -101,7 +101,7 @@ class ReferenceBlock extends BlockBase implements ContainerFactoryPluginInterfac
// before using view, to prevent call function on null errors.
if (!$view) {
return [
'#markup' => $this->t('There was an error loading the block.')
'#markup' => $this->t('There was an error loading the block.'),
];
}
......
......@@ -101,7 +101,7 @@ class ReferenceKeywordsBlock extends BlockBase implements ContainerFactoryPlugin
// before using view, to prevent call function on null errors.
if (!$view) {
return [
'#markup' => $this->t('There was an error loading the block.')
'#markup' => $this->t('There was an error loading the block.'),
];
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment