@@ -21,14 +21,17 @@ |
||
21 | 21 | $out = array(); |
22 | 22 | while(($line = fgets($this->file)) !== false) { |
23 | 23 | $line = trim(preg_replace('/#.*/', '', $line)); |
24 | - if(!$line) |
|
25 | - continue; |
|
24 | + if(!$line) { |
|
25 | + continue; |
|
26 | + } |
|
26 | 27 | $parts = preg_split('/\s+/', $line); |
27 | - if(count($parts) == 1) |
|
28 | - continue; |
|
28 | + if(count($parts) == 1) { |
|
29 | + continue; |
|
30 | + } |
|
29 | 31 | $type = array_shift($parts); |
30 | - foreach($parts as $part) |
|
31 | - $out[$part] = $type; |
|
32 | + foreach($parts as $part) { |
|
33 | + $out[$part] = $type; |
|
34 | + } |
|
32 | 35 | } |
33 | 36 | |
34 | 37 | $this->cache = $out; |