laravel/framework — pull request #4954 by jarektkaczyk (2014-07-04 13:19:36+00:00)
Title: Improve has for nested relations

The same as https://github.com/laravel/framework/pull/4237 only greatly simplified ;)