Fix bug from recent commit to Laravel that altered str_is.

Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com>