We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 517aa33 commit 98ee5d4Copy full SHA for 98ee5d4
1 file changed
system/Files/File.php
@@ -59,7 +59,8 @@ public function __construct(string $path, bool $checkFile = false)
59
*
60
* Implementations SHOULD return the value stored in the "size" key of
61
* the file in the $_FILES array if available, as PHP calculates this based
62
- * on the actual size transmitted.
+ * on the actual size transmitted. A RuntimeException will be thrown if the file
63
+ * does not exist or an error occurs.
64
65
* @return false|int The file size in bytes, or false on failure
66
*/
0 commit comments