for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace App\Requests;
class UserUpdateRequest 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 [
'email' => 'email',
'role_id' => 'integer',
'password' => 'min:8',
];
}
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.