Fix some PHPStan errors
This commit is contained in:
parent
f5767f7739
commit
4d3e0901d2
3 changed files with 3 additions and 3 deletions
|
@ -8,7 +8,7 @@
|
|||
/**
|
||||
* Implements hook_preprocess_HOOK().
|
||||
*/
|
||||
function opdavies_preprocess_block(&$variables) {
|
||||
function opdavies_preprocess_block(array &$variables): void {
|
||||
if ($variables['base_plugin_id'] == 'system_branding_block') {
|
||||
$variables['site_logo'] = '';
|
||||
if ($variables['content']['site_logo']['#access'] && $variables['content']['site_logo']['#uri']) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue