@@ -34,7 +34,9 @@ |
||
| 34 | 34 | public static function loadWidthsFromCsv($csvPath) |
| 35 | 35 | { |
| 36 | 36 | foreach (file($csvPath) as $line) { |
| 37 | - if ($line[0] == 'f') continue; |
|
| 37 | + if ($line[0] == 'f') { |
|
| 38 | + continue; |
|
| 39 | + } |
|
| 38 | 40 | $widths = explode(',', trim($line)); |
| 39 | 41 | if (count(range(33, 126)) + 3 == count($widths)) { |
| 40 | 42 | $fontName = array_shift($widths); |
@@ -40,7 +40,7 @@ discard block |
||
| 40 | 40 | } |
| 41 | 41 | |
| 42 | 42 | /** |
| 43 | - * @return mixed |
|
| 43 | + * @return integer |
|
| 44 | 44 | */ |
| 45 | 45 | public function getId() |
| 46 | 46 | { |
@@ -83,7 +83,7 @@ discard block |
||
| 83 | 83 | } |
| 84 | 84 | |
| 85 | 85 | /** |
| 86 | - * @param $type |
|
| 86 | + * @param string $type |
|
| 87 | 87 | * @return string |
| 88 | 88 | */ |
| 89 | 89 | private function getTypeXml($type) |