diff --git a/docs/topics/accessing-cells.md b/docs/topics/accessing-cells.md index c85fb0fb..f14e2bde 100644 --- a/docs/topics/accessing-cells.md +++ b/docs/topics/accessing-cells.md @@ -426,9 +426,9 @@ for ($row = 1; $row <= $highestRow; ++$row) { echo '' . PHP_EOL; ``` -Note that we can't use a <= comparison here, because 'AA' would match -as <= 'B', so we increment the highest column letter and then loop -while \$col != the incremented highest column. +Note that we can't use a `<=` comparison here, because `'AA'` would match +as `<= 'B'`, so we increment the highest column letter and then loop +while `$col !=` the incremented highest column. ## Using value binders to facilitate data entry diff --git a/docs/topics/autofilters.md b/docs/topics/autofilters.md index f7c9421e..66321ee9 100644 --- a/docs/topics/autofilters.md +++ b/docs/topics/autofilters.md @@ -285,8 +285,8 @@ $columnFilter->createRule() We also set the rule type to CUSTOMFILTER. -This defined two rules, filtering numbers that are >= -20 OR <= -20, so we also need to modify the join condition to reflect AND rather +This defined two rules, filtering numbers that are `>= -20` OR `<= +20`, so we also need to modify the join condition to reflect AND rather than OR. ``` php diff --git a/docs/topics/recipes.md b/docs/topics/recipes.md index a70411cb..0b40cf34 100644 --- a/docs/topics/recipes.md +++ b/docs/topics/recipes.md @@ -132,7 +132,7 @@ will take care of displaying the formula according the applications language. Translation is taken care of by the application! The following line of code writes the formula -`=IF(C4>500,"profit","loss")` into the cell B8. Note that the +`=IF(C4>500,"profit","loss")` into the cell B8. Note that the formula must start with `=` to make PhpSpreadsheet recognise this as a formula. diff --git a/docs/topics/worksheets.md b/docs/topics/worksheets.md index d3d7a7ee..f97a0066 100644 --- a/docs/topics/worksheets.md +++ b/docs/topics/worksheets.md @@ -69,7 +69,7 @@ $spreadsheet->createSheet(); ``` A new worksheet created using this method will be called -"Worksheet<n>" where "<n>" is the lowest number possible to +`Worksheet` where `` is the lowest number possible to guarantee that the title is unique. Alternatively, you can instantiate a new worksheet (setting the title to