This commit is contained in:
2024-08-07 12:16:42 +03:00
parent 4a12eeccfd
commit 1bd82eb40b
3 changed files with 4 additions and 4 deletions

View File

@ -20,7 +20,7 @@ class JasonTable
$this->beforePrintCell = $closure;
}
public function getCustomCell(string $key, string $cell)
public function getCustomCell(string $key, string|null $cell)
{
if (is_array($this->beforePrintCell)) {
foreach ($this->beforePrintCell as $currentKey => $closure) {