Fix code standard
This commit is contained in:
parent
ce0d7616cc
commit
dd2abc7aff
2 changed files with 2 additions and 3 deletions
|
@ -51,7 +51,7 @@ class ReversedFileReader implements \Iterator
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Open $filename for read and reset iterator
|
* Open $filename for read and reset iterator
|
||||||
*
|
*
|
||||||
* @param string $filename File to open
|
* @param string $filename File to open
|
||||||
* @return $this
|
* @return $this
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -26,7 +26,6 @@ use Friendica\Model\Log\ParsedLogIterator;
|
||||||
|
|
||||||
use PHPUnit\Framework\TestCase;
|
use PHPUnit\Framework\TestCase;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Parsed log iterator testing class
|
* Parsed log iterator testing class
|
||||||
*/
|
*/
|
||||||
|
@ -50,7 +49,7 @@ class ParsedLogIteratorTest extends TestCase
|
||||||
'log' . DIRECTORY_SEPARATOR .
|
'log' . DIRECTORY_SEPARATOR .
|
||||||
'friendica.log.txt';
|
'friendica.log.txt';
|
||||||
|
|
||||||
$reader = new ReversedFileReader();
|
$reader = new ReversedFileReader();
|
||||||
$this->pli = new ParsedLogIterator($reader);
|
$this->pli = new ParsedLogIterator($reader);
|
||||||
$this->pli->open($logfile);
|
$this->pli->open($logfile);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue