@@ -20,7 +20,7 @@ discard block |
||
| 20 | 20 | namespace Subway; |
| 21 | 21 | |
| 22 | 22 | if (! defined('ABSPATH') ) { |
| 23 | - return; |
|
| 23 | + return; |
|
| 24 | 24 | } |
| 25 | 25 | |
| 26 | 26 | /** |
@@ -36,32 +36,32 @@ discard block |
||
| 36 | 36 | final class I18 |
| 37 | 37 | { |
| 38 | 38 | |
| 39 | - /** |
|
| 40 | - * Class Constructor. |
|
| 41 | - * |
|
| 42 | - * @return void |
|
| 43 | - */ |
|
| 44 | - public function __construct() |
|
| 45 | - { |
|
| 39 | + /** |
|
| 40 | + * Class Constructor. |
|
| 41 | + * |
|
| 42 | + * @return void |
|
| 43 | + */ |
|
| 44 | + public function __construct() |
|
| 45 | + { |
|
| 46 | 46 | |
| 47 | - add_action('plugins_loaded', array( $this, 'subwayLocalizePlugin' )); |
|
| 47 | + add_action('plugins_loaded', array( $this, 'subwayLocalizePlugin' )); |
|
| 48 | 48 | |
| 49 | - return; |
|
| 50 | - } |
|
| 49 | + return; |
|
| 50 | + } |
|
| 51 | 51 | |
| 52 | - /** |
|
| 53 | - * Subway l8n callback. |
|
| 54 | - * |
|
| 55 | - * @return void |
|
| 56 | - */ |
|
| 57 | - public function subwayLocalizePlugin() |
|
| 58 | - { |
|
| 52 | + /** |
|
| 53 | + * Subway l8n callback. |
|
| 54 | + * |
|
| 55 | + * @return void |
|
| 56 | + */ |
|
| 57 | + public function subwayLocalizePlugin() |
|
| 58 | + { |
|
| 59 | 59 | |
| 60 | - load_plugin_textdomain('subway', false, basename( dirname( __FILE__ ) ) . '/languages' ); |
|
| 60 | + load_plugin_textdomain('subway', false, basename( dirname( __FILE__ ) ) . '/languages' ); |
|
| 61 | 61 | |
| 62 | - return; |
|
| 62 | + return; |
|
| 63 | 63 | |
| 64 | - } |
|
| 64 | + } |
|
| 65 | 65 | |
| 66 | 66 | } |
| 67 | 67 | |
@@ -19,7 +19,7 @@ discard block |
||
| 19 | 19 | |
| 20 | 20 | namespace Subway; |
| 21 | 21 | |
| 22 | -if (! defined('ABSPATH') ) { |
|
| 22 | +if ( ! defined('ABSPATH')) { |
|
| 23 | 23 | return; |
| 24 | 24 | } |
| 25 | 25 | |
@@ -44,7 +44,7 @@ discard block |
||
| 44 | 44 | public function __construct() |
| 45 | 45 | { |
| 46 | 46 | |
| 47 | - add_action('plugins_loaded', array( $this, 'subwayLocalizePlugin' )); |
|
| 47 | + add_action('plugins_loaded', array($this, 'subwayLocalizePlugin')); |
|
| 48 | 48 | |
| 49 | 49 | return; |
| 50 | 50 | } |
@@ -57,7 +57,7 @@ discard block |
||
| 57 | 57 | public function subwayLocalizePlugin() |
| 58 | 58 | { |
| 59 | 59 | |
| 60 | - load_plugin_textdomain('subway', false, basename( dirname( __FILE__ ) ) . '/languages' ); |
|
| 60 | + load_plugin_textdomain('subway', false, basename(dirname(__FILE__)) . '/languages'); |
|
| 61 | 61 | |
| 62 | 62 | return; |
| 63 | 63 | |