Closed qfox closed 9 years ago
Code:
require "vendor/autoload.php"; $bh = new \BEM\BH(); $bh->match('button', function ($ctx) { $ctx->tag('button'); }); var_dump($bh->processBemJson([ 'block' => 'block' ])); // [ 'block' => 'button', 'tag' => 'button' ]
Expected:
class BEM\Json#4 (9) { public $block => string(5) "block" public $tag => string(6) "button" // ...
Actual: no tag property at all.
https://github.com/bem/bh/pull/96/files
Landed in 4.0.0
Code:
Expected:
Actual: no tag property at all.