@@ -165,10 +165,10 @@ |
||
| 165 | 165 | // direct access for small paths |
| 166 | 166 | case 1: |
| 167 | 167 | $this->data[$pathArray[0]] = $value; |
| 168 | - return; |
|
| 168 | + return; |
|
| 169 | 169 | case 2: |
| 170 | 170 | $this->data[$pathArray[0]][$pathArray[1]] = $value; |
| 171 | - return; |
|
| 171 | + return; |
|
| 172 | 172 | default: |
| 173 | 173 | $this->setDeepElementWithLoop($pathArray, $value); |
| 174 | 174 | } |
@@ -49,13 +49,13 @@ |
||
| 49 | 49 | */ |
| 50 | 50 | protected $endOffset = 0; |
| 51 | 51 | |
| 52 | - /** |
|
| 53 | - * @param string $suggestion the suggested term |
|
| 54 | - * @param string $missSpelled the misspelled original term |
|
| 55 | - * @param int $numFound |
|
| 56 | - * @param int $startOffset |
|
| 57 | - * @param int $endOffset |
|
| 58 | - */ |
|
| 52 | + /** |
|
| 53 | + * @param string $suggestion the suggested term |
|
| 54 | + * @param string $missSpelled the misspelled original term |
|
| 55 | + * @param int $numFound |
|
| 56 | + * @param int $startOffset |
|
| 57 | + * @param int $endOffset |
|
| 58 | + */ |
|
| 59 | 59 | public function __construct($suggestion = '', $missSpelled = '', $numFound = 1, $startOffset = 0, $endOffset = 0) |
| 60 | 60 | { |
| 61 | 61 | $this->suggestion = $suggestion; |