File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
app/code/Magento/OfflineShipping/Model/ResourceModel/Carrier Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -185,7 +185,7 @@ public function __construct(
185
185
\Magento \Framework \Filesystem $ filesystem ,
186
186
Import $ import ,
187
187
RateQueryFactory $ rateQueryFactory ,
188
- ? string $ connectionName = null ,
188
+ $ connectionName = null ,
189
189
?DeploymentConfig $ deploymentConfig = null ,
190
190
?RequestFactory $ requestFactory = null ,
191
191
?IoFile $ ioFile = null
@@ -296,7 +296,7 @@ private function importData(array $fields, array $values)
296
296
* @todo: this method should be refactored as soon as updated design will be provided
297
297
* @see https://wiki.corp.x.com/display/MCOMS/Magento+Filesystem+Decisions
298
298
*/
299
- public function uploadAndImport (DataObject $ object ): Tablerate
299
+ public function uploadAndImport (DataObject $ object )
300
300
{
301
301
$ filePath = $ this ->getFilePath ($ object );
302
302
if (!$ filePath ) {
@@ -335,8 +335,6 @@ public function uploadAndImport(DataObject $object): Tablerate
335
335
);
336
336
throw new LocalizedException ($ error );
337
337
}
338
-
339
- return $ this ;
340
338
}
341
339
342
340
/**
You can’t perform that action at this time.
0 commit comments