X-Git-Url: http://aleph1.co.uk/gitweb/?a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Fsystem%2Fsrc%2FSystemManager.php;h=d1dd3cf60c89821de4a65da665d25e6361ca7e05;hb=1c1cb0980bfa6caf0c24cce671b6bb541dc87583;hp=d2e03443db4954a639837ec1843fe42b1409c734;hpb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae;p=yaffs-website diff --git a/web/core/modules/system/src/SystemManager.php b/web/core/modules/system/src/SystemManager.php index d2e03443d..d1dd3cf60 100644 --- a/web/core/modules/system/src/SystemManager.php +++ b/web/core/modules/system/src/SystemManager.php @@ -110,7 +110,7 @@ class SystemManager { // Check run-time requirements and status information. $requirements = $this->moduleHandler->invokeAll('requirements', ['runtime']); - uasort($requirements, function($a, $b) { + uasort($requirements, function ($a, $b) { if (!isset($a['weight'])) { if (!isset($b['weight'])) { return strcasecmp($a['title'], $b['title']); @@ -152,7 +152,8 @@ class SystemManager { * hidden, so we supply the contents of the block. * * @return array - * A render array suitable for drupal_render. + * A render array suitable for + * \Drupal\Core\Render\RendererInterface::render(). */ public function getBlockContents() { // We hard-code the menu name here since otherwise a link in the tools menu