Skip to content

Commit

Permalink
phpstan
Browse files Browse the repository at this point in the history
  • Loading branch information
fballiano committed Apr 2, 2024
1 parent 2c638b4 commit f5cf701
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,14 @@
* @package Mage_Directory
*
* @property string $_url
* @property array $_messages
*/
abstract class Mage_Directory_Model_Currency_Import_Abstract
{
/**
* @var array
*/
protected $_messages;

/**
* Retrieve currency codes
*
Expand Down
19 changes: 15 additions & 4 deletions app/code/core/Mage/ImportExport/Model/Export/Adapter/Abstract.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,24 @@
*
* @category Mage
* @package Mage_ImportExport
*
* @property resource $_fileHandler
* @property string $_delimiter
* @property string $_enclosure
*/
abstract class Mage_ImportExport_Model_Export_Adapter_Abstract
{
/**
* @var resource
*/
protected $_fileHandler;

/**
* @var string
*/
protected $_delimiter;

/**
* @var string
*/
protected $_enclosure;

/**
* Destination file path.
*
Expand Down
8 changes: 5 additions & 3 deletions lib/Varien/File/Uploader/Image.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,14 @@
* This class is invalid. Avoid using it
*
* @deprecated after 1.4.0.0-rc1
* @file Image.php
*
* @property mixed $uploader
*/
class Varien_File_Uploader_Image extends Varien_File_Uploader
{
/**
* @var mixed
*/
protected $uploader;

public function __construct()
{
register_shutdown_function([$this, 'destruct']);
Expand Down

0 comments on commit f5cf701

Please sign in to comment.