dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove comments about isset( $string['foo'] ) being true on PHP 5.3
[lhc/web/wiklou.git]
/
includes
/
debug
/
logger
/
LegacySpi.php
diff --git
a/includes/debug/logger/LegacySpi.php
b/includes/debug/logger/LegacySpi.php
index
6a7f1d0
..
a6b53ec
100644
(file)
--- a/
includes/debug/logger/LegacySpi.php
+++ b/
includes/debug/logger/LegacySpi.php
@@
-30,7
+30,7
@@
namespace MediaWiki\Logger;
* );
* @endcode
*
* );
* @endcode
*
- * @see \
\MediaWiki\\Logger\
\LoggerFactory
+ * @see \
MediaWiki\Logger
\LoggerFactory
* @since 1.25
* @author Bryan Davis <bd808@wikimedia.org>
* @copyright © 2014 Bryan Davis and Wikimedia Foundation.
* @since 1.25
* @author Bryan Davis <bd808@wikimedia.org>
* @copyright © 2014 Bryan Davis and Wikimedia Foundation.
@@
-40,14
+40,13
@@
class LegacySpi implements Spi {
/**
* @var array $singletons
*/
/**
* @var array $singletons
*/
- protected $singletons = array();
-
+ protected $singletons = [];
/**
* Get a logger instance.
*
* @param string $channel Logging channel
/**
* Get a logger instance.
*
* @param string $channel Logging channel
- * @return \
\Psr\\Log\
\LoggerInterface Logger instance
+ * @return \
Psr\Log
\LoggerInterface Logger instance
*/
public function getLogger( $channel ) {
if ( !isset( $this->singletons[$channel] ) ) {
*/
public function getLogger( $channel ) {
if ( !isset( $this->singletons[$channel] ) ) {