]> git.mxchange.org Git - friendica.git/blobdiff - src/Util/FileSystem.php
Merge pull request #10967 from annando/api
[friendica.git] / src / Util / FileSystem.php
index c082fb2d1ec7d448a594fb3ae8c403d9ba2ec23e..1a86f43be716486cb223ac61c21da8f6cf445625 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2020, Friendica
+ * @copyright Copyright (C) 2010-2021, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
@@ -24,7 +24,7 @@ namespace Friendica\Util;
 /**
  * Util class for filesystem manipulation
  */
-final class FileSystem
+class FileSystem
 {
        /**
         * @var string a error message
@@ -73,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)
        {