Skip to content

Commit

Permalink
fix typos in container conditions
Browse files Browse the repository at this point in the history
  • Loading branch information
atanas-dev committed Nov 27, 2017
1 parent f8d9f58 commit 8ea8368
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions documentation/10-containers/10-conditional-display.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ _Note: chaining conditions behaves exactly like a normal php `if` statement with

| Parameter | Description |
|------------------------|---------------------------------------------------------------------------------------------------------------|
| `$condition` | A condition type name as a string (refer to the `Container Types` page) |
| `$condition` | A condition type name as a string (refer to the `Condition Types` page) |
| `$comparison_operator` | Can be one of the following: `'='`, `'!='`, `'>'`, `'>='`, `'<'`, `'<='`, `'IN'`, `'NOT IN'`, `'CUSTOM'` |
| `$value` | The value to check against. `IN` and `NOT IN` operators expect an array; `CUSTOM` operator expects a callable |

Expand Down Expand Up @@ -59,7 +59,7 @@ Container::make( 'post_meta', 'Custom Data' )

##### Nested logic

In order to achieve nested display logic the `when()` and `or_when()` methods also support being invoked with a `callable`:
In order to achieve nested display logic the `where()` and `or_where()` methods also support being invoked with a `callable`:

```php
Container::make( 'post_meta', 'Custom Data' )
Expand Down

0 comments on commit 8ea8368

Please sign in to comment.