Skip to content

Commit

Permalink
Merge pull request #1377 from bangbangda/fix-view
Browse files Browse the repository at this point in the history
fix monolog will cause an error. Fixes #1358
  • Loading branch information
lonnieezell authored Oct 29, 2018
2 parents acfc5b7 + dadedad commit 9253553
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions system/View/View.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
*/
use CodeIgniter\View\Exceptions\ViewException;
use Config\Services;
use CodeIgniter\Log\Logger;
use Psr\Log\LoggerInterface;

/**
* Class View
Expand Down Expand Up @@ -123,13 +123,13 @@ class View implements RendererInterface
/**
* Constructor
*
* @param \Config\View $config
* @param string $viewPath
* @param mixed $loader
* @param bool $debug
* @param Logger $logger
* @param \Config\View $config
* @param string $viewPath
* @param mixed $loader
* @param bool $debug
* @param LoggerInterface $logger
*/
public function __construct($config, string $viewPath = null, $loader = null, bool $debug = null, Logger $logger = null)
public function __construct($config, string $viewPath = null, $loader = null, bool $debug = null, LoggerInterface $logger = null)
{
$this->config = $config;
$this->viewPath = rtrim($viewPath, '/ ') . '/';
Expand Down

0 comments on commit 9253553

Please sign in to comment.