for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Integrations\Http\Requests;
class CreateProviderRequest extends Request
{
/**
* Class constructor.
*
* @param array
* @return void
@return
Adding a @return annotation to a constructor is not recommended, since a constructor does not have a meaningful return value.
Please refer to the PHP core documentation on constructors.
*/
public function __construct(array $rules = [])
parent::__construct(
[
'name' => [_('Name'), 'required|max:255|unique:providers,name{excludeCurrentId}'],
]
);
}
Adding a
@return
annotation to a constructor is not recommended, since a constructor does not have a meaningful return value.Please refer to the PHP core documentation on constructors.