Skip to content

Commit

Permalink
"Refactor the Brightpearl module": #224
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitrii-fediuk committed Jun 25, 2021
1 parent 15065eb commit e8ca2a4
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions app/code/Hotlink/Framework/Model/Report/Log/Writer.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,12 @@ function getWriterId()
return parent::getWriterId();
}

function getLog()
{
/**
* @used-by \Hotlink\Framework\Model\Report::getId()
* @used-by \Hotlink\Framework\Model\Schedule\Cron\AbstractCron::_initOnceReport()
* @return bool
*/
function getLog() {
if ( $this->isOpen() )
{
return $this->_log;
Expand Down

0 comments on commit e8ca2a4

Please sign in to comment.