phpDocumentor/phpDocumentor2 — pull request #1187 by siad007 (2014-03-29 10:22:31+00:00)
Title: Added an additional type check

It seems like $rule->generate($path) can also be of type false; however, ltrim() does only seem to accept string.