Turn this around.

```php
<?php
if (empty($messagesToPrint)) {
    continue;
}
```