X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FUtil%2FFileSystem.php;h=e86d6b595ab324b4262dbcdaad96675fa72b68b5;hb=df6cda8a4de30f55c126b95095c026e5b961c27c;hp=b3a0ae74de239aa183ac270beb3409527adc2210;hpb=de3f7dd800e2bab737eab3b3c3a882c5f72f49a8;p=friendica.git diff --git a/src/Util/FileSystem.php b/src/Util/FileSystem.php index b3a0ae74de..e86d6b595a 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) {