File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -8,8 +8,8 @@ class HeaderGenerator {
88
99 use traitCodeParser;
1010
11- public $ aItems = array () ;
12- public $ aOptions = array () ;
11+ public $ aItems = [] ;
12+ public $ aOptions = [] ;
1313
1414 /**
1515 * HeaderGenerator constructor.
@@ -111,12 +111,12 @@ private function ___generateHeaderComment( $sClassName ) {
111111
112112 $ _oRC = new \ReflectionClass ( $ sClassName );
113113 $ _aConstants = $ _oRC ->getConstants ();
114- $ _aConstants = array_change_key_case ( $ _aConstants , CASE_UPPER ) + array (
114+ $ _aConstants = array_change_key_case ( $ _aConstants , CASE_UPPER ) + [
115115 'NAME ' => '' , 'VERSION ' => '' , 'DESCRIPTION ' => '' ,
116116 'URI ' => '' , 'AUTHOR ' => '' , 'AUTHOR_URI ' => '' ,
117117 'COPYRIGHT ' => '' , 'LICENSE ' => '' , 'CONTRIBUTORS ' => '' ,
118- ) ;
119- $ _aOutputs = array () ;
118+ ] ;
119+ $ _aOutputs = [] ;
120120 $ _aOutputs [] = '/** ' ;
121121 $ _aOutputs [] = ( $ _aConstants [ 'NAME ' ] ? " " . $ _aConstants [ 'NAME ' ] . ' ' : '' )
122122 . ( $ _aConstants [ 'VERSION ' ] ? 'v ' . $ _aConstants [ 'VERSION ' ] . ' ' : '' )
You can’t perform that action at this time.
0 commit comments