From 7aaded7e6035df1e39c0f9ada3b906a6c65d65c9 Mon Sep 17 00:00:00 2001 From: Alexander O'Neill <alexander@born-digital.com> Date: Wed, 5 Jul 2023 08:51:34 -0300 Subject: [PATCH] Address PHPCS errors. --- .../src/Plugin/views/style/IIIFManifest.php | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/modules/islandora_iiif/src/Plugin/views/style/IIIFManifest.php b/modules/islandora_iiif/src/Plugin/views/style/IIIFManifest.php index 379ca4b6..a02ccd81 100644 --- a/modules/islandora_iiif/src/Plugin/views/style/IIIFManifest.php +++ b/modules/islandora_iiif/src/Plugin/views/style/IIIFManifest.php @@ -144,8 +144,6 @@ class IIIFManifest extends StylePluginBase { return $this->request; } - - /** * {@inheritdoc} */ @@ -278,8 +276,11 @@ class IIIFManifest extends StylePluginBase { ]; } - // Give other modules a chance to alter the canvas - $alter_options = ['options' => $this->options, 'views_plugin' => $this]; + // Give other modules a chance to alter the canvas. + $alter_options = [ + 'options' => $this->options, + 'views_plugin' => $this + ]; $this->moduleHandler->alter('islandora_iiif_manifest_canvas', $tmp_canvas, $row, $alter_options); $canvases[] = $tmp_canvas;