Fix PHPStan error
This commit is contained in:
parent
ff7025d852
commit
b060be281f
1 changed files with 1 additions and 1 deletions
|
|
@ -26,7 +26,7 @@ function tesseract_ocr_detection(&$media)
|
|||
try {
|
||||
$languages = $ocr->availableLanguages();
|
||||
if ($languages) {
|
||||
/** @phpstan-ignore-next-line ignore call of \thiagoalessio\TesseractOCR\Option::lang() */
|
||||
// @phpstan-ignore-next-line
|
||||
$ocr->lang(implode('+', $languages));
|
||||
}
|
||||
$ocr->tempDir(System::getTempPath());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue