File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11<?php
22namespace CsrDelft \bb ;
33
4+ use Error ;
45use stdClass ;
56
67abstract class BbTag {
@@ -44,11 +45,10 @@ public function isAllowed()
4445 * NOTE: this consumes the input string.
4546 *
4647 * @param string[] $forbidden Tag names that cannot exist in this tag.
47- * @return string|null
4848 */
4949 protected function readContent ($ forbidden = [], $ parse_bb = true ) {
5050 if ($ this ->content != NULL )
51- throw new \ Error ("Can not call readContent twice on the same tag " );
51+ throw new Error ("Can not call readContent twice on the same tag " );
5252 $ stoppers = $ this ->getStoppers ();
5353 $ parse_bb_state_before = $ this ->parser ->bb_mode ;
5454 $ this ->parser ->bb_mode &= $ parse_bb ;
@@ -100,7 +100,6 @@ abstract public function render();
100100 /**
101101 * ParseLight defaults to parse
102102 *
103- * @param array $arguments
104103 * @return mixed
105104 * @throws BbException
106105 */
You can’t perform that action at this time.
0 commit comments