@@ -924,7 +924,7 @@ protected function parseNavbar() {
924
924
foreach ( $ split as $ key => $ value ) {
925
925
$ valueArr = explode ( '= ' , trim ( $ value ) );
926
926
if ( isset ( $ valueArr [1 ] ) ) {
927
- $ newValue = implode ( '= ' , array_slice ($ valueArr , 1 ) );
927
+ $ newValue = implode ( '= ' , array_slice ( $ valueArr , 1 ) );
928
928
$ data [$ valueArr [0 ]] = $ newValue ;
929
929
} else {
930
930
$ data [$ types [$ key ]] = trim ( $ value );
@@ -947,7 +947,9 @@ protected function parseNavbar() {
947
947
if ( isset ( $ data ['display ' ] ) ) {
948
948
$ textObj = $ skin ->msg ( $ data ['display ' ] );
949
949
if ( $ textObj ->isDisabled () ) {
950
- if ( array_key_exists ( 'link ' , $ data ) ) $ href = $ data ['link ' ];
950
+ if ( array_key_exists ( 'link ' , $ data ) ) {
951
+ $ href = $ data ['link ' ];
952
+ }
951
953
} else {
952
954
$ text = $ textObj ->text ();
953
955
}
@@ -969,7 +971,9 @@ protected function parseNavbar() {
969
971
$ title = $ titleObj ->text ();
970
972
}
971
973
} else {
972
- if ( isset ( $ text ) ) $ title = $ text ;
974
+ if ( isset ( $ text ) ) {
975
+ $ title = $ text ;
976
+ }
973
977
}
974
978
975
979
// Link href
@@ -1001,7 +1005,7 @@ protected function parseNavbar() {
1001
1005
} else {
1002
1006
$ classes = [];
1003
1007
}
1004
-
1008
+ // @codingStandardsIgnoreStart
1005
1009
$ item = [
1006
1010
'access ' => $ access ,
1007
1011
'classes ' => $ classes ,
@@ -1012,6 +1016,7 @@ protected function parseNavbar() {
1012
1016
'group ' => $ group ,
1013
1017
'right ' => $ right
1014
1018
];
1019
+ // @codingStandardsIgnoreEnd
1015
1020
$ level2Children = &$ item ['children ' ];
1016
1021
$ headings [] = $ item ;
1017
1022
continue ;
@@ -1248,7 +1253,7 @@ protected function buildAd( $position ) {
1248
1253
* @param Content|null $content
1249
1254
* @return string|null Textual form of the content, if available.
1250
1255
*/
1251
- private function getContentText ( Content $ content = null ) {
1256
+ private function getContentText ( ? Content $ content = null ) {
1252
1257
if ( $ content === null ) {
1253
1258
return '' ;
1254
1259
}
0 commit comments