MDL-82183 core: Coding style fixes for core\output

This commit is contained in:
Andrew Nicols
2024-06-26 23:00:33 +08:00
parent ff0fd2764a
commit 9043dc75bf
95 changed files with 2181 additions and 1759 deletions
+4 -4
View File
@@ -36,16 +36,16 @@ class xhtml_container_stack {
/**
* @var array Stores the list of open containers.
*/
protected $opencontainers = array();
protected $opencontainers = [];
/**
* @var array In developer debug mode, stores a stack trace of all opens and
* closes, so we can output helpful error messages when there is a mismatch.
*/
protected $log = array();
protected $log = [];
/**
* @var boolean Store whether we are developer debug mode. We need this in
* @var bool Store whether we are developer debug mode. We need this in
* several places including in the destructor where we may not have access to $CFG.
*/
protected $isdebugging;
@@ -61,7 +61,7 @@ class xhtml_container_stack {
/**
* Push the close HTML for a recently opened container onto the stack.
*
* @param string $type The type of container. This is checked when {@link pop()}
* @param string $type The type of container. This is checked when {@see pop()}
* is called and must match, otherwise a developer debug warning is output.
* @param string $closehtml The HTML required to close the container.
*/