Skip to content
This repository has been archived by the owner on Mar 1, 2023. It is now read-only.

Scrutinizer Auto-Fixes #291

Merged
merged 1 commit into from
Jun 21, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/Viserio/Log/HandlerParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -139,10 +139,10 @@ public function getMonolog(): MonologLogger
/**
* Parse Processor.
*
* @param HandlerInterface $handler
* @param \Monolog\Handler\HandlerInterface $handler
* @param array|object|null $processors
*
* @return HandlerInterface
* @return \Monolog\Handler\HandlerInterface
*/
protected function parseProcessor(HandlerInterface $handler, $processors = null): HandlerInterface
{
Expand Down Expand Up @@ -257,7 +257,7 @@ protected function lineFormatterSettings(): string
* @param string $path
* @param string $level
*
* @return HandlerInterface
* @return \Monolog\Handler\HandlerInterface
*
* @throws \RuntimeException
*/
Expand Down
6 changes: 3 additions & 3 deletions src/Viserio/Log/Tests/HandlerParserTest.php
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<?php
namespace Viserio\Log\Tests;

use Narrowspark\TestingHelper\Traits\MockeryTrait;
use Monolog\Logger;
use Monolog\Handler\HandlerInterface;
use Monolog\Processor\PsrLogMessageProcessor;
use Monolog\Logger;
use Monolog\Processor\GitProcessor;
use Monolog\Processor\PsrLogMessageProcessor;
use Narrowspark\TestingHelper\Traits\MockeryTrait;
use Viserio\Log\HandlerParser;

class HandlerParserTest extends \PHPUnit_Framework_TestCase
Expand Down
2 changes: 1 addition & 1 deletion src/Viserio/Log/Tests/WriterTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
namespace Viserio\Log\Tests;

use Interop\Container\ContainerInterface as ContainerContract;
use Narrowspark\TestingHelper\Traits\MockeryTrait;
use Mockery as Mock;
use Monolog\Logger;
use Narrowspark\TestingHelper\Traits\MockeryTrait;
use Monolog\Handler\{
StreamHandler,
RotatingFileHandler
Expand Down