Completed
Push — master ( f00d09...1d2b0e )
by Daryl
04:39
created
includes/class-marker-label-model.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
      */
39 39
     function color() {
40 40
 
41
-        return (string)$this->_color;
41
+        return ( string ) $this->_color;
42 42
 
43 43
     }
44 44
 
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
      */
48 48
     function font_family() {
49 49
 
50
-        return (string)$this->_font_family;
50
+        return ( string ) $this->_font_family;
51 51
 
52 52
     }
53 53
 
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
      */
57 57
     function font_size() {
58 58
 
59
-        return (string)$this->_font_size;
59
+        return ( string ) $this->_font_size;
60 60
 
61 61
     }
62 62
 
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
      */
66 66
     function font_weight() {
67 67
 
68
-        return (string)$this->_font_weight;
68
+        return ( string ) $this->_font_weight;
69 69
 
70 70
     }
71 71
 
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
      */
75 75
     function text() {
76 76
 
77
-        return (string)$this->_text;
77
+        return ( string ) $this->_text;
78 78
 
79 79
     }
80 80
 
@@ -101,10 +101,10 @@  discard block
 block discarded – undo
101 101
         ];
102 102
 
103 103
         $args = array_filter( $args, function( $value ) {
104
-            return ! is_null( $value );
104
+            return !is_null( $value );
105 105
         } );
106 106
 
107
-        if ( empty( $args['text'] ) ) {
107
+        if ( empty($args['text']) ) {
108 108
             $args = '';
109 109
         }
110 110
 
Please login to merge, or discard this patch.
component-google-maps.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -48,8 +48,8 @@  discard block
 block discarded – undo
48 48
      */
49 49
     static function geocoder() {
50 50
 
51
-        if ( ! isset( static::$_geocoder ) ) {
52
-            static::$_geocoder = new Geocoder( ['api_key' => self::api_key() ] );
51
+        if ( !isset(static::$_geocoder) ) {
52
+            static::$_geocoder = new Geocoder( ['api_key' => self::api_key()] );
53 53
         }
54 54
 
55 55
         return static::$_geocoder;
@@ -94,8 +94,8 @@  discard block
 block discarded – undo
94 94
             $source = home_url( '/vendor/clubdeuce/wplib-olm-google-maps/assets/maps.js' );
95 95
         }
96 96
 
97
-        wp_register_script('google-maps', "https://maps.google.com/maps/api/js?v=3&key={$key}", false, '3.0', true );
98
-        wp_register_script('map-control', $source, array( 'jquery', 'google-maps' ), '0.1.2', true );
97
+        wp_register_script( 'google-maps', "https://maps.google.com/maps/api/js?v=3&key={$key}", false, '3.0', true );
98
+        wp_register_script( 'map-control', $source, array( 'jquery', 'google-maps' ), '0.1.2', true );
99 99
 
100 100
         $conditions = array_map( function( &$function ) {
101 101
             return is_callable( $function ) ? call_user_func( $function ) : $function;
@@ -127,7 +127,7 @@  discard block
 block discarded – undo
127 127
      * @param  array  $args
128 128
      * @return string
129 129
      */
130
-    static function driving_directions_href($destination, $args = array() ) {
130
+    static function driving_directions_href( $destination, $args = array() ) {
131 131
 
132 132
         $args = wp_parse_args( $args, array(
133 133
             'start' => 'My Location',
Please login to merge, or discard this patch.