@@ -43,7 +43,7 @@ |
||
43 | 43 | protected function parse($data = null, $filename = null) |
44 | 44 | { |
45 | 45 | $serializedData = @unserialize($data); |
46 | - if($serializedData === false){ |
|
46 | + if ($serializedData === false) { |
|
47 | 47 | |
48 | 48 | throw new ParseException(error_get_last()); |
49 | 49 | } |
@@ -35,6 +35,9 @@ |
||
35 | 35 | return $this->parse($config); |
36 | 36 | } |
37 | 37 | |
38 | + /** |
|
39 | + * @param string $txtProperties |
|
40 | + */ |
|
38 | 41 | private function parse($txtProperties) |
39 | 42 | { |
40 | 43 | $result = []; |
@@ -2,8 +2,6 @@ |
||
2 | 2 | |
3 | 3 | namespace Noodlehaus\Parser; |
4 | 4 | |
5 | -use Noodlehaus\Exception\ParseException; |
|
6 | - |
|
7 | 5 | /** |
8 | 6 | * Properties parser. |
9 | 7 | * |