MR
rgument 1 passed to App\Providers\PayPartsServiceProvider::__construct() must be of the type string, object given, called in
данные в конфигах точно есть и они строка
class PayPartsServiceProvider extends ServiceProvider
{
private $storeId;
private $password;
private $payParts;
public function __construct(string $storeId, string $password)
{
$this->storeId = config('payparts.store_id');
$this->password = config('payparts.password');
if(empty($storeId)){
throw new \InvalidArgumentException('store_id is empty');
}
if(empty($password)){
throw new \InvalidArgumentException('password is empty');
}
$this->payParts = new PayParts($this->storeId, $this->password);
}