Per the ZF coding standards, the two above lines need to be rewritten to use block form:
```php
if ($where) {
    $select->where($where);
}
```