@@ -86,8 +86,8 @@ discard block |
||
86 | 86 | { |
87 | 87 | $attrs = [ |
88 | 88 | 'class' => 'diff-tag-removed', |
89 | - 'id' => 'removed' . $this->removedId, |
|
90 | - 'title' => '#removed' . $this->removedId, |
|
89 | + 'id' => 'removed'.$this->removedId, |
|
90 | + 'title' => '#removed'.$this->removedId, |
|
91 | 91 | ]; |
92 | 92 | $this->removedId++; |
93 | 93 | |
@@ -103,8 +103,8 @@ discard block |
||
103 | 103 | { |
104 | 104 | $attrs = [ |
105 | 105 | 'class' => 'diff-tag-added', |
106 | - 'id' => 'removed' . $this->addedId, |
|
107 | - 'title' => '#removed' . $this->addedId, |
|
106 | + 'id' => 'removed'.$this->addedId, |
|
107 | + 'title' => '#removed'.$this->addedId, |
|
108 | 108 | ]; |
109 | 109 | $this->addedId++; |
110 | 110 |
@@ -46,9 +46,9 @@ discard block |
||
46 | 46 | $this->atoms[] = new TextAtom($currentWord); |
47 | 47 | } |
48 | 48 | |
49 | - $this->atoms[] = new TextAtom('' . $c); |
|
49 | + $this->atoms[] = new TextAtom(''.$c); |
|
50 | 50 | $currentWord = ''; |
51 | - } else if (DelimiterAtom::isValidDelimiter('' . $c)) { |
|
51 | + } else if (DelimiterAtom::isValidDelimiter(''.$c)) { |
|
52 | 52 | // A delimiter. |
53 | 53 | if (mb_strlen($currentWord) > 0) { |
54 | 54 | $this->atoms[] = new TextAtom($currentWord); |
@@ -74,7 +74,7 @@ discard block |
||
74 | 74 | public function getAtom(int $i): AtomInterface |
75 | 75 | { |
76 | 76 | if ($i < 0 || $i >= count($this->atoms)) { |
77 | - throw new OutOfBoundsException('There is no Atom with index ' . $i); |
|
77 | + throw new OutOfBoundsException('There is no Atom with index '.$i); |
|
78 | 78 | } |
79 | 79 | |
80 | 80 | return $this->atoms[$i]; |