@@ -541,7 +541,7 @@ discard block |
||
541 | 541 | foreach($range2 as $col){ |
542 | 542 | |
543 | 543 | if( |
544 | - $this->matrix[$row][$col ] |
|
544 | + $this->matrix[$row][$col ] |
|
545 | 545 | && !$this->matrix[$row][$col + 1] |
546 | 546 | && $this->matrix[$row][$col + 2] |
547 | 547 | && $this->matrix[$row][$col + 3] |
@@ -559,7 +559,7 @@ discard block |
||
559 | 559 | foreach($range2 as $row){ |
560 | 560 | |
561 | 561 | if( |
562 | - $this->matrix[$row ][$col] |
|
562 | + $this->matrix[$row ][$col] |
|
563 | 563 | && !$this->matrix[$row + 1][$col] |
564 | 564 | && $this->matrix[$row + 2][$col] |
565 | 565 | && $this->matrix[$row + 3][$col] |
@@ -931,7 +931,7 @@ discard block |
||
931 | 931 | for($row = -2; $row <= 2; $row++){ |
932 | 932 | for($col = -2; $col <= 2; $col++){ |
933 | 933 | $this->matrix[$posI + $row][$posJ + $col] = |
934 | - $row === -2 || $row === 2 |
|
934 | + $row === -2 || $row === 2 |
|
935 | 935 | || $col === -2 |
936 | 936 | || $col === 2 |
937 | 937 | || ($row === 0 && $col === 0); |