Skip to content
This repository was archived by the owner on Apr 13, 2023. It is now read-only.

Commit

Permalink
GM-115: Added PHPDoc to clarify usage.
Browse files Browse the repository at this point in the history
  • Loading branch information
tig-daanvandenbergh committed May 25, 2020
1 parent a729e0d commit c93ac6c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Model/ResourceModel/Carrier/GLS.php
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,9 @@ public function uploadAndImport(\Magento\Framework\DataObject $object)
{
/**
* @var \Magento\Framework\App\Config\Value $object
*
* We're using the $_FILES super global here, because Magento uses it, too in:
* /vendor/magento/module-offline-shipping/Model/ResourceModel/Carrier/Tablerate.php
*/
if (empty($_FILES['groups']['tmp_name']['tig_gls']['fields']['import']['value'])) {
return $this;
Expand Down

0 comments on commit c93ac6c

Please sign in to comment.