Skip to content

Commit

Permalink
Bring code up to PSR2 coding standard
Browse files Browse the repository at this point in the history
  • Loading branch information
chadicus committed Jan 12, 2015
1 parent 9900f5e commit e0f3dfc
Show file tree
Hide file tree
Showing 56 changed files with 2,533 additions and 2,490 deletions.
2 changes: 1 addition & 1 deletion build.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
}

passthru(
'./vendor/bin/phpcs --standard=Zend lib tests *.php',
'./vendor/bin/phpcs --standard=PSR2 -n lib tests *.php',
$returnStatus
);
if ($returnStatus !== 0) {
Expand Down
12 changes: 6 additions & 6 deletions lib/Account.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@

class Account extends SingletonApiResource
{
/**
/**
* @param string|null $apiKey
*
* @return Account
*/
public static function retrieve($apiKey=null)
{
$class = get_class();
return self::_scopedSingletonRetrieve($class, $apiKey);
}
public static function retrieve($apiKey = null)
{
$class = get_class();
return self::_scopedSingletonRetrieve($class, $apiKey);
}
}
Loading

0 comments on commit e0f3dfc

Please sign in to comment.