Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3768393
D1308.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
391 B
Referenced Files
None
Subscribers
None
D1308.diff
View Options
diff --git a/src/LogEntry.php b/src/LogEntry.php
--- a/src/LogEntry.php
+++ b/src/LogEntry.php
@@ -38,7 +38,7 @@
return str_replace("+00:00", "Z", gmdate('c'));
}
- public static function fromJSON ($json) : object {
+ public static function fromJSON ($json) : LogEntry {
$mapper = (new JsonMapper());
return $mapper->map($json, new LogEntry);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Nov 24, 07:45 (20 h, 25 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2259766
Default Alt Text
D1308.diff (391 B)
Attached To
Mode
D1308: Replace object return value by class type
Attached
Detach File
Event Timeline
Log In to Comment