FIX Ensure Tika responses are casted as strings, fixes broken unit tests
They can be returned as a stream, but the TikaRestClient response is documented as a string
This commit is contained in:
parent
b9502653c2
commit
759d92ccb4
|
@ -149,7 +149,7 @@ class TikaRestClient extends Client
|
|||
Injector::inst()->get(LoggerInterface::class)->info($msg);
|
||||
}
|
||||
|
||||
return $text;
|
||||
return (string) $text;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue