src/Html/Builder.php 1 location
|
@@ 149-153 (lines=5) @@
|
146 |
|
$replacements = []; |
147 |
|
|
148 |
|
foreach (array_dot($parameters) as $key => $value) { |
149 |
|
if ($this->isCallbackFunction($value, $key)) { |
150 |
|
$values[] = trim($value); |
151 |
|
array_set($parameters, $key, '%' . $key . '%'); |
152 |
|
$replacements[] = '"%' . $key . '%"'; |
153 |
|
} |
154 |
|
} |
155 |
|
|
156 |
|
$new = []; |
src/Html/Editor/Editor.php 1 location
|
@@ 203-207 (lines=5) @@
|
200 |
|
array_set($parameters, $key, '#' . $value); |
201 |
|
} |
202 |
|
|
203 |
|
if ($this->isCallbackFunction($value, $key)) { |
204 |
|
$values[] = trim($value); |
205 |
|
array_set($parameters, $key, '%' . $key . '%'); |
206 |
|
$replacements[] = '"%' . $key . '%"'; |
207 |
|
} |
208 |
|
} |
209 |
|
|
210 |
|
$new = []; |