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:
Robbie Averill 2019-02-13 11:39:35 +07:00
parent b9502653c2
commit 759d92ccb4
1 changed files with 1 additions and 1 deletions

View File

@ -149,7 +149,7 @@ class TikaRestClient extends Client
Injector::inst()->get(LoggerInterface::class)->info($msg);
}
return $text;
return (string) $text;
}
/**