Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- // Netbeans formatting rules are making me a little batty. Multi-line params and closure indentation are
- // all over the place, and it's making PHP_CodeSniffer throw all sorts of errors (as it should).
- // I've tried to create custom formatting rules to deal with this but haven't had any success.
- //
- // I'm currently running Netbeans 7.1
- //
- // Anyone else have this issue? Anyone have a solution?
- $container['oauth_client'] = function ($c) {
- $config = $c['application_config'];
- return new OAuth2\Client(
- $config['app']['key'],
- $config['app']['secret'],
- $config['app']['oauthCallback']
- );
- };
Advertisement
Add Comment
Please, Sign In to add comment