laravel/framework — pull request #6660 by lucasmichot (2014-12-15 11:09:48+00:00)
Title: [4.2] Use FileNotFoundException

`get` or `getRequire` functions both check that the file exists and throw a `FileNotFoundException` if this not the case. So using `files->exists(...)` and thus checking twice that the file exists is useless.
Instead a `FileNotFoundException` can simply be caught.

References https://github.com/laravel/framework/pull/5814 (4.2)