I dont think this is valid PSR-2. `$api->all(` should be on its own line, as should `'title'`