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
Merge "Hide TOC with CSS instead of JavaScript"
[lhc/web/wiklou.git]
/
includes
/
CommentStore.php
diff --git
a/includes/CommentStore.php
b/includes/CommentStore.php
index
484b846
..
d03a00e
100644
(file)
--- a/
includes/CommentStore.php
+++ b/
includes/CommentStore.php
@@
-138,7
+138,7
@@
class CommentStore {
* @return string
*/
private function getKey( $methodKey = null ) {
* @return string
*/
private function getKey( $methodKey = null ) {
- $key = $this->key
!== null ? $this->key :
$methodKey;
+ $key = $this->key
??
$methodKey;
if ( $key === null ) {
// @codeCoverageIgnoreStart
throw new InvalidArgumentException( '$key should not be null' );
if ( $key === null ) {
// @codeCoverageIgnoreStart
throw new InvalidArgumentException( '$key should not be null' );