for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace App\Requests;
class RefreshTokenRequest implements IRequest
{
/**
* @return array
array<string,string>
This check looks for the generic type array as a return type and suggests a more specific type. This type is inferred from the actual code.
array
*/
public function rules()
return [
'refresh_token' => 'required|string',
];
}
This check looks for the generic type
array
as a return type and suggests a more specific type. This type is inferred from the actual code.