facebook/hhvm — pull request #1878 by radford (2014-02-20 22:39:00+00:00)
Title: Convert arguments that take StreamContext to take Resources not Variants

This removes some converting back and forth and further documents and centralizes the type-checking for these interfaces.