@@ -155,12 +155,12 @@ public function getEscapeLineStartCharacters()
155155 }
156156
157157 /**
158- * @param string $escapeLineStartCharacters
158+ * @param string $escapeCharacters
159159 * @return $this
160160 */
161- public function setEscapeLineStartCharacters ($ escapeLineStartCharacters )
161+ public function setEscapeLineStartCharacters ($ escapeCharacters )
162162 {
163- $ this ->escapeLineStartCharacters = $ escapeLineStartCharacters ;
163+ $ this ->escapeLineStartCharacters = $ escapeCharacters ;
164164 return $ this ;
165165 }
166166
@@ -202,8 +202,8 @@ public function onBlockBegin($type)
202202 */
203203 public function onCodeBlock ($ code , $ hint = null )
204204 {
205- $ longestBacktickSequence = max (3 , $ this ->longestBackticksSequence ($ code ) + 1 );
206- $ backtickString = str_repeat ('` ' , $ longestBacktickSequence );
205+ $ backticksSequence = max (3 , $ this ->longestBackticksSequence ($ code ) + 1 );
206+ $ backtickString = str_repeat ('` ' , $ backticksSequence );
207207 $ this
208208 ->startLine ()
209209 ->append ($ backtickString )
@@ -487,11 +487,11 @@ public function onCodeContent($code)
487487 if (empty ($ code )) {
488488 $ this ->append (' ' );
489489 } else {
490- $ longestBacktickSequence = $ this ->longestBackticksSequence ($ code );
491- if ($ longestBacktickSequence === 0 ) {
490+ $ backticksSequence = $ this ->longestBackticksSequence ($ code );
491+ if ($ backticksSequence === 0 ) {
492492 $ this ->append ($ code );
493493 } else {
494- $ this ->appendCode ($ code , $ longestBacktickSequence );
494+ $ this ->appendCode ($ code , $ backticksSequence );
495495 }
496496 }
497497 $ this ->append ('` ' );
@@ -737,12 +737,12 @@ private function longestBackticksSequence($code)
737737
738738 /**
739739 * @param string $code
740- * @param int $longestBacktickSequence
740+ * @param int $backticksSequence
741741 * @return $this
742742 */
743- private function appendCode ($ code , $ longestBacktickSequence )
743+ private function appendCode ($ code , $ backticksSequence )
744744 {
745- $ backtickString = str_repeat ('` ' , $ longestBacktickSequence );
745+ $ backtickString = str_repeat ('` ' , $ backticksSequence );
746746 $ this ->append ($ backtickString );
747747 if (mb_substr ($ code , 0 , 1 ) === '` ' ) {
748748 $ this ->append (' ' );
0 commit comments