zendframework/zf2-documentation — pull request #304 by adamlundrigan (2012-09-27 00:42:08+00:00)
Title: Fix variable names in example in zend.paginator.usage

Under section `The DbSelect Adapter`, example mixes $sql and $select:

```php
$sql = new Zend\Db\Sql\Select();
$sql->from('item_counts')->columns(array('c'=>'post_count'));
$statement = $this->sql->prepareStatementForSqlObject($select);
```

`$sql` is incorrect. Corrected example:

```php
$select= new Zend\Db\Sql\Select();
$select->from('item_counts')->columns(array('c'=>'post_count'));
$statement = $this->sql->prepareStatementForSqlObject($select);
```