@@ -15,7 +15,7 @@ discard block |
||
| 15 | 15 | |
| 16 | 16 | public function getRowsAndColumns() |
| 17 | 17 | { |
| 18 | - if(!$this->layout) { |
|
| 18 | + if (!$this->layout) { |
|
| 19 | 19 | return null; |
| 20 | 20 | } |
| 21 | 21 | |
@@ -25,7 +25,7 @@ discard block |
||
| 25 | 25 | $result['rows'] = count($rows); |
| 26 | 26 | $result['columns'] = array_reduce($rows, function($intermediate, $row) { |
| 27 | 27 | $columns = strlen($row); |
| 28 | - if($intermediate < $columns) { |
|
| 28 | + if ($intermediate < $columns) { |
|
| 29 | 29 | return $columns; |
| 30 | 30 | } else { |
| 31 | 31 | return $intermediate; |