@@ -149,6 +149,7 @@ |
||
| 149 | 149 | |
| 150 | 150 | /** |
| 151 | 151 | * @psalm-param (callable(ShortcodeInterface):string)|null $handler |
| 152 | + * @param callable|null $handler |
|
| 152 | 153 | * @return string |
| 153 | 154 | */ |
| 154 | 155 | private function processHandler(ParsedShortcodeInterface $parsed, ProcessorContext $context, $handler) |
@@ -113,6 +113,7 @@ |
||
| 113 | 113 | |
| 114 | 114 | /** |
| 115 | 115 | * @param string $name |
| 116 | + * @param \Closure $handler |
|
| 116 | 117 | * @psalm-param callable(ShortcodeInterface):string $handler |
| 117 | 118 | * |
| 118 | 119 | * @return $this |