@@ -203,7 +203,7 @@ discard block |
||
203 | 203 | /** |
204 | 204 | * strng regexp bbcode killer |
205 | 205 | * |
206 | - * @param string|array $bbcode BBCode as string or matches as array - callback from preg_replace_callback() |
|
206 | + * @param string $bbcode BBCode as string or matches as array - callback from preg_replace_callback() |
|
207 | 207 | * |
208 | 208 | * @return string |
209 | 209 | * @throws \chillerlan\bbcode\BBCodeException |
@@ -355,9 +355,9 @@ discard block |
||
355 | 355 | /** |
356 | 356 | * testing... |
357 | 357 | * |
358 | - * @param $preg_error |
|
358 | + * @param integer $preg_error |
|
359 | 359 | * |
360 | - * @param null $tag |
|
360 | + * @param string|null $tag |
|
361 | 361 | * |
362 | 362 | * @throws \chillerlan\bbcode\BBCodeException |
363 | 363 | * @link https://github.com/chillerlan/bbcode/issues/1 |
@@ -136,7 +136,7 @@ |
||
136 | 136 | * @throws \chillerlan\bbcode\BBCodeException |
137 | 137 | */ |
138 | 138 | public function setOptions(ParserOptions $options){ |
139 | - $this->parserOptions = $options; |
|
139 | + $this->parserOptions = $options; |
|
140 | 140 | |
141 | 141 | $this->loadInterfaces(); |
142 | 142 | $this->loadModules(); |
@@ -73,8 +73,8 @@ discard block |
||
73 | 73 | protected function table():string{ |
74 | 74 | |
75 | 75 | return '<table'.$this->getCssClass(['bb-table']) |
76 | - .$this->getStyle(['width' => $this->getAttribute('width')]) |
|
77 | - .'>'.$this->eol($this->content).'</table>'; |
|
76 | + .$this->getStyle(['width' => $this->getAttribute('width')]) |
|
77 | + .'>'.$this->eol($this->content).'</table>'; |
|
78 | 78 | } |
79 | 79 | |
80 | 80 | /** |
@@ -140,8 +140,8 @@ discard block |
||
140 | 140 | } |
141 | 141 | |
142 | 142 | return '<'.$this->tag.$colspan.$rowspan.$abbr.$this->getCellStyle().'>' |
143 | - .$this->eol($this->content, $this->eol_token) |
|
144 | - .'</'.$this->tag.'>'; |
|
143 | + .$this->eol($this->content, $this->eol_token) |
|
144 | + .'</'.$this->tag.'>'; |
|
145 | 145 | } |
146 | 146 | |
147 | 147 | /** |