Coding Standards: Main plugin file

* fixed indentation - swapped spaces for tabs at start of line, swapped
tabs for spaces min-line for alignment
* removed instances of `@return void` and `@access public`

@see http://make.wordpress.org/core/handbook/coding-standards/php/
This commit is contained in:
Tamara Zuk 2014-08-31 01:41:40 -04:00
parent 47b9e54797
commit 59424e5fcf
1 changed files with 46 additions and 46 deletions

View File

@ -193,7 +193,6 @@ final class WooCommerce {
* Auto-load WC classes on demand to reduce memory consumption.
*
* @param mixed $class
* @return void
*/
public function autoload( $class ) {
$path = null;
@ -435,7 +434,7 @@ final class WooCommerce {
}
/**
* Ensure theme and server variable compatibility and setup image sizes..
* Ensure theme and server variable compatibility and setup image sizes.
*/
public function setup_environment() {
/**
@ -463,6 +462,7 @@ final class WooCommerce {
// IIS
if ( ! isset($_SERVER['REQUEST_URI'] ) ) {
$_SERVER['REQUEST_URI'] = substr( $_SERVER['PHP_SELF'], 1 );
if ( isset( $_SERVER['QUERY_STRING'] ) ) {
$_SERVER['REQUEST_URI'] .= '?' . $_SERVER['QUERY_STRING'];
}
@ -546,8 +546,8 @@ final class WooCommerce {
/**
* Init the mailer and call the notifications for the current filter.
*
* @internal param array $args (default: array())
* @return void
*/
public function send_transactional_email() {
$this->mailer();