Skip to content

Commit

Permalink
Fix 'Access to an undefined property'
Browse files Browse the repository at this point in the history
  • Loading branch information
0m3r committed Jul 12, 2021
1 parent a1eaa2a commit e53bd0f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Model/Media/FileInfo.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@

class FileInfo implements \Swissup\Core\Api\Media\FileInfoInterface
{
/**
* @var UrlInterface
*/
private $urlBuilder;

/**
* Path in /pub/media directory
*
Expand Down
5 changes: 5 additions & 0 deletions Model/Module/DataProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ class DataProvider extends \Magento\Ui\DataProvider\AbstractDataProvider
*/
protected $systemStore;

/**
* @var array|null
*/
private $loadedData;

/**
* @param string $name
* @param string $primaryFieldName
Expand Down

0 comments on commit e53bd0f

Please sign in to comment.