X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Fviews%2Fsrc%2FPlugin%2Fviews%2Fcache%2FCachePluginBase.php;h=14df452a22c44cea9c77b8472f07130a731d5ded;hp=36b8e19c9c1a9d9517491ceb0a4ae81f518823dc;hb=9917807b03b64faf00f6a1f29dcb6eafc454efa5;hpb=aea91e65e895364e460983b890e295aa5d5540a5 diff --git a/web/core/modules/views/src/Plugin/views/cache/CachePluginBase.php b/web/core/modules/views/src/Plugin/views/cache/CachePluginBase.php index 36b8e19c9..14df452a2 100644 --- a/web/core/modules/views/src/Plugin/views/cache/CachePluginBase.php +++ b/web/core/modules/views/src/Plugin/views/cache/CachePluginBase.php @@ -171,7 +171,7 @@ abstract class CachePluginBase extends PluginBase { * All of the cached result data will be available in $view->result, as well, * so all ids used in the query should be discoverable. */ - public function postRender(&$output) { } + public function postRender(&$output) {} /** * Calculates and sets a cache ID used for the result cache. @@ -190,7 +190,7 @@ abstract class CachePluginBase extends PluginBase { $query = clone $build_info[$index]; $query->preExecute(); $build_info[$index] = [ - 'query' => (string)$query, + 'query' => (string) $query, 'arguments' => $query->getArguments(), ]; } @@ -292,7 +292,7 @@ abstract class CachePluginBase extends PluginBase { /** * Returns the row cache tags. * - * @param ResultRow $row + * @param \Drupal\views\ResultRow $row * A result row. * * @return string[]