Completed
Pull Request — dev (#237)
by
unknown
10:59
created
form/_view/sectionset/AdminPageFramework_Form_View___SectionTitle.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -18,14 +18,14 @@  discard block
 block discarded – undo
18 18
  */
19 19
 class AdminPageFramework_Form_View___SectionTitle extends AdminPageFramework_Form_View___Section_Base {            
20 20
   
21
-    public $aArguments      = array(
21
+    public $aArguments = array(
22 22
         'title'         => null,
23 23
         'tag'           => null,
24 24
         'section_index' => null,
25 25
         
26 26
         'sectionset'    => array(),
27 27
     );
28
-    public $aFieldsets               = array();
28
+    public $aFieldsets = array();
29 29
     public $aSavedData              = array();
30 30
     public $aFieldErrors            = array();
31 31
     public $aFieldTypeDefinitions   = array();
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
         private function _getToolTip() {
84 84
             
85 85
             $_aSectionset        = $this->aArguments[ 'sectionset' ];
86
-            $_sSectionTitleTagID = str_replace( '|', '_', $_aSectionset[ '_section_path' ]  ) . '_' . $this->aArguments[ 'section_index' ];
86
+            $_sSectionTitleTagID = str_replace( '|', '_', $_aSectionset[ '_section_path' ] ).'_'.$this->aArguments[ 'section_index' ];
87 87
             $_oToolTip           = new AdminPageFramework_Form_View___ToolTip(
88 88
                 $_aSectionset[ 'tip' ],
89 89
                 $_sSectionTitleTagID
@@ -102,7 +102,7 @@  discard block
 block discarded – undo
102 102
          * @since       DEVVER      Moved from `AdminPageFramework_FormPart_SectionTitle`.
103 103
          * @return      string      The section title output. 
104 104
          */
105
-        protected function _getSectionTitle( $sTitle, $sTag, $aFieldsets, $iSectionIndex=null, $aFieldTypeDefinitions=array(), $aCollapsible=array() ) {
105
+        protected function _getSectionTitle( $sTitle, $sTag, $aFieldsets, $iSectionIndex = null, $aFieldTypeDefinitions = array(), $aCollapsible = array() ) {
106 106
        
107 107
             $_aSectionTitleField = $this->_getSectionTitleField( $aFieldsets, $iSectionIndex, $aFieldTypeDefinitions );
108 108
             return $_aSectionTitleField
@@ -139,7 +139,7 @@  discard block
 block discarded – undo
139 139
              */
140 140
             private function _getSectionTitleField( array $aFieldsetsets, $iSectionIndex, $aFieldTypeDefinitions ) {   
141 141
             
142
-                foreach( $aFieldsetsets as $_aFieldsetset ) {
142
+                foreach ( $aFieldsetsets as $_aFieldsetset ) {
143 143
                     
144 144
                     if ( 'section_title' !== $_aFieldsetset[ 'type' ] ) {
145 145
                         continue;
Please login to merge, or discard this patch.
form/_view/sectionset/AdminPageFramework_Form_View___FieldsetRows.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
      * @return      string
58 58
      * @since       DEVVER
59 59
      */
60
-    public function get( $bTableRow=true ) {
60
+    public function get( $bTableRow = true ) {
61 61
         
62 62
         $_sMethodName = $this->getAOrB(
63 63
             $bTableRow,
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
         );
67 67
         
68 68
         $_aOutput = array();
69
-        foreach( $this->aFieldsetsPerSection as $_aFieldset ) {
69
+        foreach ( $this->aFieldsetsPerSection as $_aFieldset ) {
70 70
 
71 71
             $_oFieldsetOutputFormatter = new AdminPageFramework_Form_Model___Format_FieldsetOutput(
72 72
                 $_aFieldset, 
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
                 $this->aFieldTypeDefinitions
75 75
             );        
76 76
             
77
-            $_aOutput[] = call_user_func_array(
77
+            $_aOutput[ ] = call_user_func_array(
78 78
                 array( $this, $_sMethodName ),
79 79
                 array( $_oFieldsetOutputFormatter->get() )
80 80
             );
Please login to merge, or discard this patch.
form/_view/sectionset/AdminPageFramework_Form_View___SectionCaption.php 2 patches
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -236,7 +236,7 @@
 block discarded – undo
236 236
              */
237 237
             private function _shouldShowCaptionTitle( $aSectionset, $iSectionIndex ) {
238 238
                 
239
-                if ( ! $aSectionset[ 'title' ] ){
239
+                if ( ! $aSectionset[ 'title' ] ) {
240 240
                     return false;
241 241
                 }
242 242
                 if ( $aSectionset[ 'collapsible' ] ) {
Please login to merge, or discard this patch.
Spacing   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
          */
81 81
         private function _getCaption( array $aSectionset, $iSectionIndex, $aFieldsets, $aFieldErrors, $aFieldTypeDefinitions, $aCallbacks, $oMsg ) {
82 82
             
83
-            if ( ! $aSectionset[ 'description' ] && ! $aSectionset[ 'title' ] ) {
83
+            if ( !$aSectionset[ 'description' ] && !$aSectionset[ 'title' ] ) {
84 84
                 return "<caption class='admin-page-framework-section-caption' style='display:none;'></caption>";
85 85
             }
86 86
 
@@ -103,7 +103,7 @@  discard block
 block discarded – undo
103 103
                     'collapsible'       => $_abCollapsible,
104 104
                     'container_type'    => 'section', // section or sections                    
105 105
 
106
-                    'sectionset'        => $aSectionset,    // 3.7.0+ for tooltip
106
+                    'sectionset'        => $aSectionset, // 3.7.0+ for tooltip
107 107
                 ),
108 108
                 $aFieldsets,
109 109
                 $this->aSavedData,
@@ -113,16 +113,16 @@  discard block
 block discarded – undo
113 113
                 $aCallbacks // field output element callables.                
114 114
             );
115 115
             
116
-            $_bShowTitle    = empty( $_abCollapsible ) && ! $aSectionset[ 'section_tab_slug' ];
116
+            $_bShowTitle = empty( $_abCollapsible ) && !$aSectionset[ 'section_tab_slug' ];
117 117
 
118 118
             return
119
-                "<caption " . $this->getAttributes(
119
+                "<caption ".$this->getAttributes(
120 120
                     array(
121 121
                         'class'             => 'admin-page-framework-section-caption',
122 122
                         // data-section_tab is referred by the repeater script to hide/show the title and the description
123 123
                         'data-section_tab'  => $aSectionset[ 'section_tab_slug' ],
124 124
                     )
125
-                ) . ">"
125
+                ).">"
126 126
                     . $_oCollapsibleSectionTitle->get()
127 127
                     . $this->getAOrB(
128 128
                         $_bShowTitle,
@@ -177,7 +177,7 @@  discard block
 block discarded – undo
177 177
                         'tag'           => 'h3',
178 178
                         'section_index' => $iSectionIndex,
179 179
                         
180
-                        'sectionset'    => $aSectionset,    // 3.7.0+ for tooltip
180
+                        'sectionset'    => $aSectionset, // 3.7.0+ for tooltip
181 181
                     ),
182 182
                     $aFieldsets,
183 183
                     $this->aSavedData,
@@ -187,7 +187,7 @@  discard block
 block discarded – undo
187 187
                     $this->aCallbacks // field output element callables.
188 188
                 );
189 189
 
190
-                return "<div " . $this->getAttributes(
190
+                return "<div ".$this->getAttributes(
191 191
                         array(
192 192
                             'class' => 'admin-page-framework-section-title',
193 193
                             'style' => $this->getAOrB(
@@ -196,7 +196,7 @@  discard block
 block discarded – undo
196 196
                                 'display: none;'
197 197
                             ),
198 198
                         )
199
-                    ). ">"
199
+                    ).">"
200 200
                         . $_oSectionTitle->get()
201 201
                     . "</div>";
202 202
             }
@@ -212,7 +212,7 @@  discard block
 block discarded – undo
212 212
                 if ( $aSectionset[ 'collapsible' ] ) {
213 213
                     return '';
214 214
                 }
215
-                if ( ! is_callable( $hfSectionCallback ) ) {
215
+                if ( !is_callable( $hfSectionCallback ) ) {
216 216
                     return '';
217 217
                 }
218 218
                 
@@ -245,7 +245,7 @@  discard block
 block discarded – undo
245 245
              */
246 246
             private function _shouldShowCaptionTitle( $aSectionset, $iSectionIndex ) {
247 247
                 
248
-                if ( ! $aSectionset[ 'title' ] ){
248
+                if ( !$aSectionset[ 'title' ] ) {
249 249
                     return false;
250 250
                 }
251 251
                 if ( $aSectionset[ 'collapsible' ] ) {
Please login to merge, or discard this patch.
_common/form/_view/sectionset/AdminPageFramework_Form_View___Section.php 2 patches
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -144,7 +144,8 @@
 block discarded – undo
144 144
                 // Retrieve the formatted sectionsets of the content.
145 145
                 $_sSectionPath = $this->aSectionset[ '_section_path' ];
146 146
                 $_aSectionsets = $this->aStructure[ 'sectionsets' ];
147
-                if ( ! isset( $_aSectionsets[ $_sSectionPath ] ) ) {    // @todo    not sure what this check is for
147
+                if ( ! isset( $_aSectionsets[ $_sSectionPath ] ) ) {
148
+// @todo    not sure what this check is for
148 149
                     return '';
149 150
                 }          
150 151
                 
Please login to merge, or discard this patch.
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -77,16 +77,16 @@  discard block
 block discarded – undo
77 77
         $_oSectionTableBodyAttributes = new AdminPageFramework_Form_View___Attribute_SectionTableBody( $this->aSectionset );
78 78
         
79 79
         $_aOutput       = array();
80
-        $_aOutput[]     = "<table " . $_oSectionTableAttributes->get() . ">"
80
+        $_aOutput[ ]     = "<table ".$_oSectionTableAttributes->get().">"
81 81
                 . $_oTableCaption->get()
82
-                . "<tbody " . $_oSectionTableBodyAttributes->get() . ">"
82
+                . "<tbody ".$_oSectionTableBodyAttributes->get().">"
83 83
                     . $this->_getSectionContent( $_iSectionIndex )
84 84
                 . "</tbody>"
85 85
             . "</table>";
86 86
 
87
-        $_oSectionTableContainerAttributes  = new AdminPageFramework_Form_View___Attribute_SectionTableContainer( $this->aSectionset );
87
+        $_oSectionTableContainerAttributes = new AdminPageFramework_Form_View___Attribute_SectionTableContainer( $this->aSectionset );
88 88
 
89
-        return "<div " . $_oSectionTableContainerAttributes->get() . ">"
89
+        return "<div ".$_oSectionTableContainerAttributes->get().">"
90 90
                 . implode( PHP_EOL, $_aOutput )
91 91
             . "</div>";
92 92
         
@@ -137,7 +137,7 @@  discard block
 block discarded – undo
137 137
                 // Retrieve the formatted sectionsets of the content.
138 138
                 $_sSectionPath = $this->aSectionset[ '_section_path' ];
139 139
                 $_aSectionsets = $this->aStructure[ 'sectionsets' ];
140
-                if ( ! isset( $_aSectionsets[ $_sSectionPath ] ) ) {    // @todo    not sure what this check is for
140
+                if ( !isset( $_aSectionsets[ $_sSectionPath ] ) ) {    // @todo    not sure what this check is for
141 141
                     return '';
142 142
                 }
143 143
                 
@@ -193,22 +193,22 @@  discard block
 block discarded – undo
193 193
                     $_aNestedSectionPaths = array();
194 194
                     
195 195
                     // List the section paths of the direct children
196
-                    foreach( $aNestedSctionsets as $_aNestedSectionset ) {
196
+                    foreach ( $aNestedSctionsets as $_aNestedSectionset ) {
197 197
                         
198 198
                         // 3.7.6+ There were cases non array gets passed (like the FAQ page in the demo)
199 199
                         // and caused warnings in PHP 7.
200
-                        if ( ! is_array( $_aNestedSectionset ) ) {
200
+                        if ( !is_array( $_aNestedSectionset ) ) {
201 201
                             continue;
202 202
                         }
203 203
                         
204
-                        $_sThisSectionPath = $sSubjectSectionPath . '|' . $_aNestedSectionset[ 'section_id' ];
204
+                        $_sThisSectionPath = $sSubjectSectionPath.'|'.$_aNestedSectionset[ 'section_id' ];
205 205
                         $_aNestedSectionPaths[ $_sThisSectionPath ] = $_sThisSectionPath;
206 206
                         
207 207
                     }
208 208
                     
209 209
                     // Now we need children's children.
210 210
                     $_aChildSectionPaths = array();
211
-                    foreach( $_aNestedSectionPaths as $_sNestedSectionPath ) {
211
+                    foreach ( $_aNestedSectionPaths as $_sNestedSectionPath ) {
212 212
                         $_aNestedSectionsets = $this->getElementAsArray(
213 213
                             $aSectionsets,
214 214
                             array( $_sNestedSectionPath, 'content' )
Please login to merge, or discard this patch.
format/AdminPageFramework_Form_View___Format_SectionsetsByTab.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
24 24
      * 
25 25
      * Only one depth at a time will be parsed.
26 26
      */
27
-    public $iNestedDepth  = 0;
27
+    public $iNestedDepth = 0;
28 28
     
29 29
     /**
30 30
      * Stores the generated section tab slugs.
@@ -120,11 +120,11 @@  discard block
 block discarded – undo
120 120
             $_aFieldsBySectionTab   = array();
121 121
             $_iIndex                = 0;
122 122
 
123
-            foreach( $aSectionsets as $_sSectionPath => $_aSectionset ) {
123
+            foreach ( $aSectionsets as $_sSectionPath => $_aSectionset ) {
124 124
 
125 125
                 // If no fields for the section, no need to add the section 
126 126
                 // unless the custom sectionset output is defined.
127
-                if ( ! isset( $aFieldsets[ $_sSectionPath ] ) && ! $this->_isCustomContentSet( $_aSectionset ) ) {
127
+                if ( !isset( $aFieldsets[ $_sSectionPath ] ) && !$this->_isCustomContentSet( $_aSectionset ) ) {
128 128
                     continue;
129 129
                 }
130 130
                        
@@ -136,7 +136,7 @@  discard block
 block discarded – undo
136 136
                 $_sSectionTaqbSlug = $this->getAOrB(
137 137
                     $_aSectionset[ 'section_tab_slug' ],
138 138
                     $_aSectionset[ 'section_tab_slug' ],
139
-                    '_default_' . $this->iNestedDepth . '_' . ( ++$_iIndex )
139
+                    '_default_'.$this->iNestedDepth.'_'.( ++$_iIndex )
140 140
                 );
141 141
                 $_aSectionsBySectionTab[ $_sSectionTaqbSlug ][ $_sSectionPath ] = $_aSectionset;
142 142
                 $_aFieldsBySectionTab[ $_sSectionTaqbSlug ][ $_sSectionPath ]   = $this->getElement(
@@ -157,7 +157,7 @@  discard block
 block discarded – undo
157 157
              * @since       DEVVER      Moved from `AdminPageFramework_FormPart_Table`.
158 158
              * @return      boolean     True if a custom content value is set.
159 159
              */
160
-            private function _isCustomContentSet( array $aSectionset, array $aKeys=array( 'content' ) ) {
160
+            private function _isCustomContentSet( array $aSectionset, array $aKeys = array( 'content' ) ) {
161 161
                 return isset( $aSectionset[ 'content' ] );
162 162
                 // @deprecated
163 163
                 // foreach( $aKeys as $_sKey ) {
Please login to merge, or discard this patch.
form/_view/sectionset/AdminPageFramework_Form_View___FieldsetRow.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
 
33 33
         $_aParameters = func_get_args() + array( 
34 34
             $this->aFieldset, 
35
-            $this->aSavedData,    // passed by reference. @todo: examine why it needs to be passed by reference.
35
+            $this->aSavedData, // passed by reference. @todo: examine why it needs to be passed by reference.
36 36
             $this->aFieldErrors, 
37 37
             $this->aFieldTypeDefinitions, 
38 38
             $this->aCallbacks, // field output element callables.        
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
         return $this->_getFieldByContainer( 
72 72
             $aFieldset, 
73 73
             array(
74
-                'open_main'     => "<div " . $_oFieldrowAttribute->get() . ">",
74
+                'open_main'     => "<div ".$_oFieldrowAttribute->get().">",
75 75
                 'close_main'    => "</div>",
76 76
             )
77 77
         ); 
Please login to merge, or discard this patch.
factory/_common/form/_view/AdminPageFramework_Form_View___DebugInfo.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@  discard block
 block discarded – undo
18 18
  */
19 19
 class AdminPageFramework_Form_View___DebugInfo extends AdminPageFramework_WPUtility {            
20 20
 
21
-    public $sStructureType   = '';
21
+    public $sStructureType = '';
22 22
     
23 23
     /**
24 24
      * Stores the message object.
@@ -49,18 +49,18 @@  discard block
 block discarded – undo
49 49
      */
50 50
     public function get() {
51 51
         
52
-        if ( ! $this->isDebugModeEnabled() ) {
52
+        if ( !$this->isDebugModeEnabled() ) {
53 53
             return '';
54 54
         }
55 55
         
56 56
         // For the generic admin pages, do no show debug information for each section.
57
-        if ( ! in_array( $this->sStructureType, array( 'widget', 'post_meta_box', 'page_meta_box', 'user_meta' ) ) ) {
57
+        if ( !in_array( $this->sStructureType, array( 'widget', 'post_meta_box', 'page_meta_box', 'user_meta' ) ) ) {
58 58
             return '';
59 59
         }
60 60
         
61 61
         return "<div class='admin-page-framework-info'>" 
62
-                . $this->oMsg->get( 'debug_info' ) . ': '
63
-                    . AdminPageFramework_Registry::NAME . ' ' . AdminPageFramework_Registry::getVersion()
62
+                . $this->oMsg->get( 'debug_info' ).': '
63
+                    . AdminPageFramework_Registry::NAME.' '.AdminPageFramework_Registry::getVersion()
64 64
             . "</div>";
65 65
         
66 66
     }
Please login to merge, or discard this patch.
form/_view/resource/AdminPageFramework_Form_View__Resource__Head.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
      * @param       object      $oForm
30 30
      * @param       string      $sHeadActionHook        The action hook triggered inside the `<head>` tag. For front-end forms, use `wp_head`.
31 31
      */
32
-    public function __construct( $oForm, $sHeadActionHook='admin_head' ) {
32
+    public function __construct( $oForm, $sHeadActionHook = 'admin_head' ) {
33 33
     
34 34
         $this->oForm = $oForm;
35 35
     
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
          * as multiple instances of the factory class is loaded among separate pages, 
54 54
          * one gets denied here and if it can load earlier than the one which should insert the below script.
55 55
          */
56
-        if ( ! $this->oForm->isInThePage() ) {
56
+        if ( !$this->oForm->isInThePage() ) {
57 57
             return;
58 58
         }    
59 59
     
@@ -76,8 +76,8 @@  discard block
 block discarded – undo
76 76
         private function _getScripts_RequiredInHead() {
77 77
             return 'document.write( "<style class=\'admin-page-framework-js-embedded-inline-style\'>'
78 78
                     . str_replace(
79
-                        '\\n',   // search
80
-                        '',     // replace
79
+                        '\\n', // search
80
+                        '', // replace
81 81
                         esc_js( $this->_getInlineCSS() )    // subject
82 82
                     )
83 83
                 . '</style>" );';            
Please login to merge, or discard this patch.
_common/form/_view/resource/AdminPageFramework_Form_View__Resource.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
         // Widgets can be called multiple times for the number of user-created widget instances for one class instance 
41 41
         // so make sure it is processed only once per page.
42 42
         if ( $this->hasBeenCalled( 'resource_' . $oForm->aArguments[ 'caller_id' ] ) ) {
43
-             return;
43
+                return;
44 44
         }
45 45
 
46 46
         $this->_setHooks();
Please login to merge, or discard this patch.
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
        
40 40
         // Widgets can be called multiple times for the number of user-created widget instances for one class instance 
41 41
         // so make sure it is processed only once per page.
42
-        if ( $this->hasBeenCalled( 'resource_' . $oForm->aArguments[ 'caller_id' ] ) ) {
42
+        if ( $this->hasBeenCalled( 'resource_'.$oForm->aArguments[ 'caller_id' ] ) ) {
43 43
              return;
44 44
         }
45 45
 
@@ -112,10 +112,10 @@  discard block
 block discarded – undo
112 112
      * @since       3.7.0
113 113
      */
114 114
     public function _replyToEnqueueScripts() {
115
-        if ( ! $this->oForm->isInThePage() ) {
115
+        if ( !$this->oForm->isInThePage() ) {
116 116
             return;
117 117
         }
118
-        foreach( $this->oForm->getResources( 'src_scripts' ) as $_asEnqueue ) {
118
+        foreach ( $this->oForm->getResources( 'src_scripts' ) as $_asEnqueue ) {
119 119
             $this->_enqueueScript( $_asEnqueue );
120 120
         }       
121 121
     }
@@ -163,7 +163,7 @@  discard block
 block discarded – undo
163 163
             private function _getFormattedEnqueueScript( $asEnqueue ) {
164 164
                 static $_iCallCount = 1;
165 165
                 $_aEnqueueItem = $this->getAsArray( $asEnqueue ) + array(
166
-                    'handle_id'     => 'script_' . $this->oForm->aArguments[ 'caller_id' ] . '_' . $_iCallCount,
166
+                    'handle_id'     => 'script_'.$this->oForm->aArguments[ 'caller_id' ].'_'.$_iCallCount,
167 167
                     'src'           => null,
168 168
                     'dependencies'  => null,
169 169
                     'version'       => null,
@@ -186,10 +186,10 @@  discard block
 block discarded – undo
186 186
      */    
187 187
     public function _replyToEnqueueStyles() {
188 188
 
189
-        if ( ! $this->oForm->isInThePage() ) {
189
+        if ( !$this->oForm->isInThePage() ) {
190 190
             return;
191 191
         }
192
-        foreach( $this->oForm->getResources( 'src_styles' ) as $_asEnqueueItem ) {
192
+        foreach ( $this->oForm->getResources( 'src_styles' ) as $_asEnqueueItem ) {
193 193
             $this->_enqueueStyle( $_asEnqueueItem );
194 194
         }           
195 195
     
@@ -210,7 +210,7 @@  discard block
 block discarded – undo
210 210
             private function _getFormattedEnqueueStyle( $asEnqueue ) {
211 211
                 static $_iCallCount = 1;
212 212
                 $_aEnqueueItem = $this->getAsArray( $asEnqueue ) + array(
213
-                    'handle_id'     => 'style_' . $this->oForm->aArguments[ 'caller_id' ] . '_' . $_iCallCount,
213
+                    'handle_id'     => 'style_'.$this->oForm->aArguments[ 'caller_id' ].'_'.$_iCallCount,
214 214
                     'src'           => null,
215 215
                     'dependencies'  => null,
216 216
                     'version'       => null,
@@ -234,7 +234,7 @@  discard block
 block discarded – undo
234 234
      */    
235 235
     public function _replyToAddStyle() {
236 236
         
237
-        if ( ! $this->oForm->isInThePage() ) {
237
+        if ( !$this->oForm->isInThePage() ) {
238 238
             return;
239 239
         }   
240 240
         $_sCSSRules = $this->_getFormattedInlineStyles( 
@@ -281,7 +281,7 @@  discard block
 block discarded – undo
281 281
      */    
282 282
     public function _replyToAddScript() {
283 283
         
284
-        if ( ! $this->oForm->isInThePage() ) {
284
+        if ( !$this->oForm->isInThePage() ) {
285 285
             return;
286 286
         }        
287 287
         
Please login to merge, or discard this patch.