X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FUtil%2FFileSystem.php;h=4de9384bb031991b2ab5437c08e8adb3db5a15fa;hb=a4b0ebf160d4ffb8b023185556938a9cfba47779;hp=b3a0ae74de239aa183ac270beb3409527adc2210;hpb=b632114b12ec9a160d5442419c21a068c2eb472b;p=friendica.git diff --git a/src/Util/FileSystem.php b/src/Util/FileSystem.php index b3a0ae74de..4de9384bb0 100644 --- a/src/Util/FileSystem.php +++ b/src/Util/FileSystem.php @@ -1,11 +1,30 @@ . + * + */ namespace Friendica\Util; /** * Util class for filesystem manipulation */ -final class FileSystem +class FileSystem { /** * @var string a error message @@ -54,7 +73,9 @@ final class FileSystem * * @param string $url The file/url * - * @return false|resource the open stream ressource + * @return resource the open stream rssource + * + * @throws \UnexpectedValueException */ public function createStream(string $url) {