@@ -32,6 +32,9 @@ discard block |
||
| 32 | 32 | protected $host; |
| 33 | 33 | |
| 34 | 34 | |
| 35 | + /** |
|
| 36 | + * @param string $parent |
|
| 37 | + */ |
|
| 35 | 38 | public function __construct($array, $parent = null) |
| 36 | 39 | { |
| 37 | 40 | $this->array = $array; |
@@ -57,6 +60,9 @@ discard block |
||
| 57 | 60 | return $this->addPath($line); |
| 58 | 61 | } |
| 59 | 62 | |
| 63 | + /** |
|
| 64 | + * @param string $rule |
|
| 65 | + */ |
|
| 60 | 66 | protected function addPath($rule) |
| 61 | 67 | { |
| 62 | 68 | // Return an array of paths |
@@ -17,6 +17,9 @@ |
||
| 17 | 17 | protected $parent; |
| 18 | 18 | |
| 19 | 19 | |
| 20 | + /** |
|
| 21 | + * @param string $parent |
|
| 22 | + */ |
|
| 20 | 23 | public function __construct($array, $parent = null) |
| 21 | 24 | { |
| 22 | 25 | $this->array = $array; |
@@ -17,6 +17,9 @@ |
||
| 17 | 17 | protected $parent; |
| 18 | 18 | |
| 19 | 19 | |
| 20 | + /** |
|
| 21 | + * @param string $parent |
|
| 22 | + */ |
|
| 20 | 23 | public function __construct($array, $parent = null) |
| 21 | 24 | { |
| 22 | 25 | $this->array = $array; |
@@ -31,6 +31,9 @@ discard block |
||
| 31 | 31 | protected $cleanParam; |
| 32 | 32 | protected $host; |
| 33 | 33 | |
| 34 | + /** |
|
| 35 | + * @param string $parent |
|
| 36 | + */ |
|
| 34 | 37 | public function __construct($array, $parent = null) |
| 35 | 38 | { |
| 36 | 39 | $this->array = $array; |
@@ -56,6 +59,9 @@ discard block |
||
| 56 | 59 | return $this->addPath($line); |
| 57 | 60 | } |
| 58 | 61 | |
| 62 | + /** |
|
| 63 | + * @param string $rule |
|
| 64 | + */ |
|
| 59 | 65 | protected function addPath($rule) |
| 60 | 66 | { |
| 61 | 67 | // Return an array of paths |
@@ -29,7 +29,7 @@ |
||
| 29 | 29 | * |
| 30 | 30 | * @param string $content - file content |
| 31 | 31 | * @param string $encoding - character encoding |
| 32 | - * @param integer|null $byteLimit - maximum of bytes to parse |
|
| 32 | + * @param integer $byteLimit - maximum of bytes to parse |
|
| 33 | 33 | * @throws Exceptions\ParserException |
| 34 | 34 | */ |
| 35 | 35 | public function __construct($content, $encoding = self::ENCODING, $byteLimit = self::BYTE_LIMIT) |