Fix code standard
This commit is contained in:
parent
7f695197aa
commit
3766204b05
2 changed files with 13 additions and 13 deletions
|
@ -156,7 +156,7 @@ class ParsedLogIterator implements \Iterator
|
||||||
/**
|
/**
|
||||||
* Fetch next parsed log line which match with filters or search and
|
* Fetch next parsed log line which match with filters or search and
|
||||||
* set it as current iterator value.
|
* set it as current iterator value.
|
||||||
*
|
*
|
||||||
* @see Iterator::next()
|
* @see Iterator::next()
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
|
@ -173,7 +173,7 @@ class ParsedLogIterator implements \Iterator
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Rewind the iterator to the first matching log line
|
* Rewind the iterator to the first matching log line
|
||||||
*
|
*
|
||||||
* @see Iterator::rewind()
|
* @see Iterator::rewind()
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
|
@ -186,7 +186,7 @@ class ParsedLogIterator implements \Iterator
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Return current parsed log line number
|
* Return current parsed log line number
|
||||||
*
|
*
|
||||||
* @see Iterator::key()
|
* @see Iterator::key()
|
||||||
* @see ReversedFileReader::key()
|
* @see ReversedFileReader::key()
|
||||||
* @return int
|
* @return int
|
||||||
|
@ -198,7 +198,7 @@ class ParsedLogIterator implements \Iterator
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Return current iterator value
|
* Return current iterator value
|
||||||
*
|
*
|
||||||
* @see Iterator::current()
|
* @see Iterator::current()
|
||||||
* @return ?ParsedLogLing
|
* @return ?ParsedLogLing
|
||||||
*/
|
*/
|
||||||
|
@ -209,7 +209,7 @@ class ParsedLogIterator implements \Iterator
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Checks if current iterator value is valid, that is, not null
|
* Checks if current iterator value is valid, that is, not null
|
||||||
*
|
*
|
||||||
* @see Iterator::valid()
|
* @see Iterator::valid()
|
||||||
* @return bool
|
* @return bool
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -72,7 +72,7 @@ class ReversedFileReader implements \Iterator
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Read $size bytes behind last position
|
* Read $size bytes behind last position
|
||||||
*
|
*
|
||||||
* @return string
|
* @return string
|
||||||
*/
|
*/
|
||||||
private function _read($size)
|
private function _read($size)
|
||||||
|
@ -85,7 +85,7 @@ class ReversedFileReader implements \Iterator
|
||||||
/**
|
/**
|
||||||
* Read next line from end of file
|
* Read next line from end of file
|
||||||
* Return null if no lines are left to read
|
* Return null if no lines are left to read
|
||||||
*
|
*
|
||||||
* @return ?string
|
* @return ?string
|
||||||
*/
|
*/
|
||||||
private function _readline()
|
private function _readline()
|
||||||
|
@ -104,7 +104,7 @@ class ReversedFileReader implements \Iterator
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Fetch next line from end and set it as current iterator value.
|
* Fetch next line from end and set it as current iterator value.
|
||||||
*
|
*
|
||||||
* @see Iterator::next()
|
* @see Iterator::next()
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
|
@ -116,9 +116,9 @@ class ReversedFileReader implements \Iterator
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Rewind iterator to the first line at the end of file
|
* Rewind iterator to the first line at the end of file
|
||||||
*
|
*
|
||||||
* @see Iterator::rewind()
|
* @see Iterator::rewind()
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function rewind()
|
public function rewind()
|
||||||
{
|
{
|
||||||
|
@ -133,7 +133,7 @@ class ReversedFileReader implements \Iterator
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Return current line number, starting from zero at the end of file
|
* Return current line number, starting from zero at the end of file
|
||||||
*
|
*
|
||||||
* @see Iterator::key()
|
* @see Iterator::key()
|
||||||
* @return int
|
* @return int
|
||||||
*/
|
*/
|
||||||
|
@ -144,7 +144,7 @@ class ReversedFileReader implements \Iterator
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Return current line
|
* Return current line
|
||||||
*
|
*
|
||||||
* @see Iterator::current()
|
* @see Iterator::current()
|
||||||
* @return string
|
* @return string
|
||||||
*/
|
*/
|
||||||
|
@ -155,7 +155,7 @@ class ReversedFileReader implements \Iterator
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Checks if current iterator value is valid, that is, we readed all lines in files
|
* Checks if current iterator value is valid, that is, we readed all lines in files
|
||||||
*
|
*
|
||||||
* @see Iterator::valid()
|
* @see Iterator::valid()
|
||||||
* @return bool
|
* @return bool
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in a new issue