@@ -118,7 +118,7 @@ discard block |
||
| 118 | 118 | } |
| 119 | 119 | |
| 120 | 120 | /** |
| 121 | - * @param $value |
|
| 121 | + * @param string $value |
|
| 122 | 122 | * @param $resolving |
| 123 | 123 | * |
| 124 | 124 | * @return array|mixed |
@@ -135,6 +135,10 @@ discard block |
||
| 135 | 135 | $self = $this; |
| 136 | 136 | return preg_replace_callback( |
| 137 | 137 | '/%%|%([^%\s]+)%/', |
| 138 | + |
|
| 139 | + /** |
|
| 140 | + * @param string $match |
|
| 141 | + */ |
|
| 138 | 142 | function ($match) use ($self, $resolving, $value) { |
| 139 | 143 | // skip %% |
| 140 | 144 | if (false === isset($match[1])) { |
@@ -135,7 +135,7 @@ |
||
| 135 | 135 | $self = $this; |
| 136 | 136 | return preg_replace_callback( |
| 137 | 137 | '/%%|%([^%\s]+)%/', |
| 138 | - function ($match) use ($self, $resolving, $value) { |
|
| 138 | + function($match) use ($self, $resolving, $value) { |
|
| 139 | 139 | // skip %% |
| 140 | 140 | if (false === isset($match[1])) { |
| 141 | 141 | return '%%'; |