diff --git a/src/BBCodeParser.php b/src/BBCodeParser.php index 60f405d..f2652a0 100644 --- a/src/BBCodeParser.php +++ b/src/BBCodeParser.php @@ -6,6 +6,9 @@ class BBCodeParser { use ArrayTrait; + /** + * @var array[] These are our BBCode parsers + */ public $parsers = [ 'bold' => [ 'pattern' => '/\[b\](.*?)\[\/b\]/s', @@ -114,6 +117,9 @@ class BBCodeParser ] ]; + /** + * @var array[] Our enabled parsers available with getParsers() + */ private $enabledParsers; public function __construct() diff --git a/tests/BBCodeParserTest.php b/tests/BBCodeParserTest.php index 590c861..fd5098b 100644 --- a/tests/BBCodeParserTest.php +++ b/tests/BBCodeParserTest.php @@ -14,7 +14,7 @@ class BBCodeParserTest extends TestCase /** * @see \ivuorinen\BBCode\BBCodeParser::$parsers - * @var array Easier to maintain basic tests + * @var array[] Easier to maintain basic tests */ public $testedParsers = array( 'bold' => array(