[8.x] Change whereStartsWith, DocBlock to reflect that array is supported (#39370)
[8.x] Change whereStartsWith, DocBlock to reflect that array is supported (#39370)

* Change DocBlock to reflect that array is supported

whereStartsWith, whereDoesntStartWith, thatStartWith DocBlocks says it only accepts a string, but an array is accepted as it's being passed to Str::startsWith($haystack, $needles) which accepts an array too.

* Changed docBlock for php 7 compat

* change use ($string) -> use ($needles)
morrislaptop/framework,crynobone/framework,bytestream/framework,laravel/framework,driesvints/framework,arturock/framework,JamesForks/framework,laravel/framework,arturock/framework,leo108/laravel_framework,morrislaptop/framework,leo108/laravel_framework,notebowl/laravel-framework,samlev/framework,lucasmichot/framework,mul14/laravel-framework,hafezdivandari/framework,crynobone/framework,notebowl/laravel-framework,bytestream/framework,lucasmichot/framework,mul14/laravel-framework,hafezdivandari/framework,stevebauman/framework,samlev/framework,dwightwatson/framework,dwightwatson/framework,stevebauman/framework,driesvints/framework,arturock/framework,mul14/laravel-framework,mul14/laravel-framework,JamesForks/framework