symfony/symfony-docs — pull request #3408 by gunnarlium (2014-01-03 08:32:56+00:00)
Title: Use static Request methods in Trusting Proxies doc

As these methods manipulate static properties, it makes sense to use the static methods. This also means that we don't need to create a throwaway Request instance just to set the trusted proxies.