@@ -8,9 +8,9 @@ discard block |
||
| 8 | 8 | class Grid |
| 9 | 9 | { |
| 10 | 10 | |
| 11 | - /** |
|
| 12 | - * minimum word length for the puzzle |
|
| 13 | - */ |
|
| 11 | + /** |
|
| 12 | + * minimum word length for the puzzle |
|
| 13 | + */ |
|
| 14 | 14 | protected int $minWordLen; |
| 15 | 15 | |
| 16 | 16 | /** |
@@ -148,7 +148,7 @@ discard block |
||
| 148 | 148 | { |
| 149 | 149 | $inc = 1; |
| 150 | 150 | $word->setEnd($word->getStart()+$len-1); |
| 151 | - // si mot placé sur 2 lignes on décale à gauche |
|
| 151 | + // si mot placé sur 2 lignes on décale à gauche |
|
| 152 | 152 | while ($this->columnArray[$word->getEnd()] < $this->columnArray[$word->getStart()]) { |
| 153 | 153 | $word->setStart($word->getStart()-1); |
| 154 | 154 | $word->setEnd($word->getStart()+$len-1); |