File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/PhpWord/Writer/HTML/Element Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ public function write()
5858 return $ content ;
5959 }
6060
61- private const mapAlignment = [
61+ private const MAP_ALIGNMENT = [
6262 RubyProperties::ALIGNMENT_CENTER => 'center ' ,
6363 RubyProperties::ALIGNMENT_LEFT => 'start ' ,
6464 ];
@@ -69,7 +69,7 @@ public function write()
6969 private function getPropertyCssForRubyTag (RubyProperties $ properties ): string
7070 {
7171 // alignment CSS: https://developer.mozilla.org/en-US/docs/Web/CSS/ruby-align
72- $ alignment = self ::mapAlignment [$ properties ->getAlignment ()] ?? 'space-between ' ;
72+ $ alignment = self ::MAP_ALIGNMENT [$ properties ->getAlignment ()] ?? 'space-between ' ;
7373
7474 return
7575 'font-size: ' . $ properties ->getFontSizeForBaseText () . 'pt ' . '; ' .
You can’t perform that action at this time.
0 commit comments