Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3914946
D2164.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
289 B
Referenced Files
None
Subscribers
None
D2164.diff
View Options
diff --git a/src/IO/File.php b/src/IO/File.php
--- a/src/IO/File.php
+++ b/src/IO/File.php
@@ -18,6 +18,9 @@
$this->path = $path;
}
+ /**
+ * @return static
+ */
public static function from (string $path) : self {
return new static($path);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Dec 20, 17:55 (16 h, 7 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2308336
Default Alt Text
D2164.diff (289 B)
Attached To
Mode
D2164: Document File::from return value as static
Attached
Detach File
Event Timeline
Log In to Comment