Correct phpdoc of JsonResponse data to mixed type
Correct phpdoc of JsonResponse data to mixed type

The phpdoc currently specifies either string or array, but the data parameter of json can be a variety of types in lumen/laravel.

See also upstream parameter definition in: https://github.com/laravel/framework/blob/5.3/src/Illuminate/Http/JsonResponse.php#L23
and consuming implementation: https://github.com/laravel/framework/blob/5.3/src/Illuminate/Http/JsonResponse.php#L56

This helps code to pass in larastan.
orchestral/lumen,laravel/lumen-framework,crynobone/lumen-framework