@@ -357,56 +357,77 @@ public function amazon(
357357 /**
358358 * @throws RuntimeException
359359 */
360- public function amazonProduct (AmazonProductRequest $ request , ?int $ allowedRetries = null , bool $ logResponseBody = true ): PushPullJob
361- {
360+ public function amazonProduct (
361+ AmazonProductRequest $ request ,
362+ ?int $ allowedRetries = null ,
363+ bool $ logResponseBody = true ,
364+ ): PushPullJob {
362365 return $ this ->makePostRequest (OxylabsApi::SOURCE_AMAZON_PRODUCT , $ request ->toArray (), $ allowedRetries , $ logResponseBody );
363366 }
364367
365368 /**
366369 * @throws RuntimeException
367370 */
368- public function amazonSearch (AmazonSearchRequest $ request , ?int $ allowedRetries = null , bool $ logResponseBody = true ): PushPullJob
369- {
371+ public function amazonSearch (
372+ AmazonSearchRequest $ request ,
373+ ?int $ allowedRetries = null ,
374+ bool $ logResponseBody = true ,
375+ ): PushPullJob {
370376 return $ this ->makePostRequest (OxylabsApi::SOURCE_AMAZON_SEARCH , $ request ->toArray (), $ allowedRetries , $ logResponseBody );
371377 }
372378
373379 /**
374380 * @throws RuntimeException
375381 */
376- public function amazonPricing (AmazonPricingRequest $ request , ?int $ allowedRetries = null , bool $ logResponseBody = true ): PushPullJob
377- {
382+ public function amazonPricing (
383+ AmazonPricingRequest $ request ,
384+ ?int $ allowedRetries = null ,
385+ bool $ logResponseBody = true ,
386+ ): PushPullJob {
378387 return $ this ->makePostRequest (OxylabsApi::SOURCE_AMAZON_PRICING , $ request ->toArray (), $ allowedRetries , $ logResponseBody );
379388 }
380389
381390 /**
382391 * @throws RuntimeException
383392 */
384- public function amazonSellers (AmazonSellersRequest $ request , ?int $ allowedRetries = null , bool $ logResponseBody = true ): PushPullJob
385- {
393+ public function amazonSellers (
394+ AmazonSellersRequest $ request ,
395+ ?int $ allowedRetries = null ,
396+ bool $ logResponseBody = true ,
397+ ): PushPullJob {
386398 return $ this ->makePostRequest (OxylabsApi::SOURCE_AMAZON_SELLERS , $ request ->toArray (), $ allowedRetries , $ logResponseBody );
387399 }
388400
389401 /**
390402 * @throws RuntimeException
391403 */
392- public function googleSearch (GoogleSearchRequest $ request , ?int $ allowedRetries = null , bool $ logResponseBody = true ): PushPullJob
393- {
404+ public function googleSearch (
405+ GoogleSearchRequest $ request ,
406+ ?int $ allowedRetries = null ,
407+ bool $ logResponseBody = true ,
408+ ): PushPullJob {
394409 return $ this ->makePostRequest (OxylabsApi::SOURCE_GOOGLE_SHOPPING_SEARCH , $ request ->toArray (), $ allowedRetries , $ logResponseBody );
395410 }
396411
397412 /**
398413 * @throws RuntimeException
399414 */
400- public function universal (UniversalRequest $ request , ?int $ allowedRetries = null , bool $ logResponseBody = true ): PushPullJob
401- {
415+ public function universal (
416+ UniversalRequest $ request ,
417+ ?int $ allowedRetries = null ,
418+ bool $ logResponseBody = true ,
419+ ): PushPullJob {
402420 return $ this ->makePostRequest ('universal ' , $ request ->toArray (), $ allowedRetries , $ logResponseBody );
403421 }
404422
405423 /**
406424 * @throws RuntimeException
407425 */
408- public function googleShoppingProduct (GoogleShoppingProductRequest $ request , ?int $ allowedRetries = null , bool $ logResponseBody = true ): PushPullJob
409- {
426+ public function googleShoppingProduct (
427+ GoogleShoppingProductRequest $ request ,
428+ ?int $ allowedRetries = null ,
429+ bool $ logResponseBody = true ,
430+ ): PushPullJob {
410431 return $ this ->makePostRequest (OxylabsApi::SOURCE_GOOGLE_SHOPPING_PRODUCT , $ request ->toArray (), $ allowedRetries , $ logResponseBody );
411432 }
412433
@@ -430,9 +451,12 @@ public function getGoogleShoppingProductResult(
430451 /**
431452 * @throws RuntimeException
432453 */
433- public function googleShoppingPricing (GoogleShoppingPricingRequest $ request , ?int $ allowedRetries = null ): PushPullJob
434- {
435- return $ this ->makePostRequest (OxylabsApi::SOURCE_GOOGLE_SHOPPING_PRICING , $ request ->toArray (), $ allowedRetries );
454+ public function googleShoppingPricing (
455+ GoogleShoppingPricingRequest $ request ,
456+ ?int $ allowedRetries = null ,
457+ bool $ logResponseBody = true ,
458+ ): PushPullJob {
459+ return $ this ->makePostRequest (OxylabsApi::SOURCE_GOOGLE_SHOPPING_PRICING , $ request ->toArray (), $ allowedRetries , $ logResponseBody );
436460 }
437461
438462 /**
@@ -454,8 +478,11 @@ public function getGoogleShoppingPricingResult(
454478 /**
455479 * @throws RuntimeException
456480 */
457- public function walmartProduct (WalmartProductRequest $ request , ?int $ allowedRetries = null , bool $ logResponseBody = true ): PushPullJob
458- {
481+ public function walmartProduct (
482+ WalmartProductRequest $ request ,
483+ ?int $ allowedRetries = null ,
484+ bool $ logResponseBody = true ,
485+ ): PushPullJob {
459486 return $ this ->makePostRequest (OxylabsApi::SOURCE_WALMART_PRODUCT , $ request ->toArray (), $ allowedRetries , $ logResponseBody );
460487 }
461488
0 commit comments