one more thing, add open <code>{</code> after <code>if ($this->debug) </code> , so it should be : 
```
if ($this->debug) {
    return true;
}
```