Document File::from return value as static
Summary:
This change allows Phan to correctly analyze the methods availability.
This is a follow-up for 7266cfd77f31.
Test Plan:
Without the change, Phan outputs:
$ phan src/Registration/PSR4/Autoloader.php:51 PhanUndeclaredMethod Call to undeclared method \Keruald\OmniTools\IO\File::tryInclude tests/Reflection/CodeFileTest.php:41 PhanUndeclaredMethod Call to undeclared method \Keruald\OmniTools\IO\File::canBeIncluded
After the change, it doesn't prints these messages.
Reviewers: dereckson
Reviewed By: dereckson
Differential Revision: https://devcentral.nasqueron.org/D2164