Completed
Branch master (b9c20c)
by
unknown
03:58
created
format/AdminPageFramework_Form_View___Format_SectionsetsByTab.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
      * 
26 26
      * Only one depth at a time will be parsed.
27 27
      */
28
-    public $iNestedDepth  = 0;
28
+    public $iNestedDepth = 0;
29 29
     
30 30
     /**
31 31
      * Stores the generated section tab slugs.
@@ -121,11 +121,11 @@  discard block
 block discarded – undo
121 121
             $_aFieldsBySectionTab   = array();
122 122
             $_iIndex                = 0;
123 123
 
124
-            foreach( $aSectionsets as $_sSectionPath => $_aSectionset ) {
124
+            foreach ( $aSectionsets as $_sSectionPath => $_aSectionset ) {
125 125
 
126 126
                 // If no fields for the section, no need to add the section 
127 127
                 // unless the custom sectionset output is defined.
128
-                if ( ! isset( $aFieldsets[ $_sSectionPath ] ) && ! $this->_isCustomContentSet( $_aSectionset ) ) {
128
+                if ( !isset( $aFieldsets[ $_sSectionPath ] ) && !$this->_isCustomContentSet( $_aSectionset ) ) {
129 129
                     continue;
130 130
                 }
131 131
                        
@@ -137,7 +137,7 @@  discard block
 block discarded – undo
137 137
                 $_sSectionTaqbSlug = $this->getAOrB(
138 138
                     $_aSectionset[ 'section_tab_slug' ],
139 139
                     $_aSectionset[ 'section_tab_slug' ],
140
-                    '_default_' . $this->iNestedDepth . '_' . ( ++$_iIndex )
140
+                    '_default_'.$this->iNestedDepth.'_'.( ++$_iIndex )
141 141
                 );
142 142
                 $_aSectionsBySectionTab[ $_sSectionTaqbSlug ][ $_sSectionPath ] = $_aSectionset;
143 143
                 $_aFieldsBySectionTab[ $_sSectionTaqbSlug ][ $_sSectionPath ]   = $this->getElement(
@@ -158,7 +158,7 @@  discard block
 block discarded – undo
158 158
              * @since       3.7.0      Moved from `AdminPageFramework_FormPart_Table`.
159 159
              * @return      boolean     True if a custom content value is set.
160 160
              */
161
-            private function _isCustomContentSet( array $aSectionset, array $aKeys=array( 'content' ) ) {
161
+            private function _isCustomContentSet( array $aSectionset, array $aKeys = array( 'content' ) ) {
162 162
                 return isset( $aSectionset[ 'content' ] );
163 163
                 // @deprecated
164 164
                 // foreach( $aKeys as $_sKey ) {
Please login to merge, or discard this patch.
form/_view/resource/AdminPageFramework_Form_View__Resource__Head.php 2 patches
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
      * @param       object      $oForm
31 31
      * @param       string      $sHeadActionHook        The action hook triggered inside the `<head>` tag. For front-end forms, use `wp_head`.
32 32
      */
33
-    public function __construct( $oForm, $sHeadActionHook='admin_head' ) {
33
+    public function __construct( $oForm, $sHeadActionHook = 'admin_head' ) {
34 34
     
35 35
         $this->oForm = $oForm;
36 36
     
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
          * as multiple instances of the factory class is loaded among separate pages, 
55 55
          * one gets denied here and if it can load earlier than the one which should insert the below script.
56 56
          */
57
-        if ( ! $this->oForm->isInThePage() ) {
57
+        if ( !$this->oForm->isInThePage() ) {
58 58
             return;
59 59
         }    
60 60
     
@@ -77,8 +77,8 @@  discard block
 block discarded – undo
77 77
         private function _getScripts_RequiredInHead() {
78 78
             return 'document.write( "<style class=\'admin-page-framework-js-embedded-internal-style\'>'
79 79
                     . str_replace(
80
-                        '\\n',   // search
81
-                        '',     // replace
80
+                        '\\n', // search
81
+                        '', // replace
82 82
                         esc_js( $this->_getInternalCSS() )    // subject
83 83
                     )
84 84
                 . '</style>" );';
Please login to merge, or discard this patch.
Braces   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
     
35 35
         $this->oForm = $oForm;
36 36
     
37
-        if ( in_array( $this->oForm->aArguments[ 'structure_type' ], array( 'widget' ) ) ) {       
37
+        if ( in_array( $this->oForm->aArguments[ 'structure_type' ], array( 'widget' ) ) ) {
38 38
             return;
39 39
         }
40 40
     
@@ -98,7 +98,7 @@  discard block
 block discarded – undo
98 98
                  * @return      string
99 99
                  * @since       3.7.0
100 100
                  */
101
-                private function _getScriptElementConcealerCSSRules() {                    
101
+                private function _getScriptElementConcealerCSSRules() {
102 102
                     
103 103
                     // Avoid hiding framework forms in widgets. In some cases, the user sets a form in any page,
104 104
                     // which causes a different structure form type including `admin_page` gets loaded even in widgets.php (or any page builder pages dealing with widgets)
Please login to merge, or discard this patch.
development/factory/_common/form/AdminPageFramework_Form_View.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
             '' // default value
40 40
         );        
41 41
 
42
-        if ( ! $this->canUserView( $this->sCapability ) ) {
42
+        if ( !$this->canUserView( $this->sCapability ) ) {
43 43
             return '';
44 44
         }     
45 45
         
Please login to merge, or discard this patch.
_common/_abstract/_view/AdminPageFramework_Factory___Script_Base.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
      * 
29 29
      * @since       3.3.0
30 30
      */
31
-    public function __construct( $oMsg=null ) {
31
+    public function __construct( $oMsg = null ) {
32 32
                 
33 33
         if ( $this->hasBeenCalled( get_class( $this ) ) ) {
34 34
             return;
@@ -87,10 +87,10 @@  discard block
 block discarded – undo
87 87
      */
88 88
     public function _replyToPrintScript() {
89 89
         $_sScript = $this->getScript( $this->oMsg );
90
-        if ( ! $_sScript ) {
90
+        if ( !$_sScript ) {
91 91
             return;
92 92
         }
93
-        echo "<script type='text/javascript' class='" . strtolower( get_class( $this ) ) . "'>"
93
+        echo "<script type='text/javascript' class='".strtolower( get_class( $this ) )."'>"
94 94
                 . '/* <![CDATA[ */'
95 95
                 . $_sScript
96 96
                 . '/* ]]> */'
Please login to merge, or discard this patch.
factory/page_meta_box/form/AdminPageFramework_Form_page_meta_box.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
     public function construct() {
30 30
         
31 31
         add_filter(
32
-            'options_' . $this->aArguments[ 'caller_id' ],
32
+            'options_'.$this->aArguments[ 'caller_id' ],
33 33
             array( $this, '_replyToSanitizeSavedFormData' ),
34 34
             5   //  high priority as it must be done earlier
35 35
         );
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
         
54 54
         // Extract the meta box field form data (options) from the page form data (options).
55 55
         return $this->castArrayContents( 
56
-            $this->getDataStructureFromAddedFieldsets(),    // form data structure generate from fieldsets
56
+            $this->getDataStructureFromAddedFieldsets(), // form data structure generate from fieldsets
57 57
             $aSavedFormData
58 58
         );
59 59
   
Please login to merge, or discard this patch.
development/factory/page_meta_box/AdminPageFramework_PageMetaBox_Router.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -50,11 +50,11 @@
 block discarded – undo
50 50
             return true;
51 51
         }
52 52
 
53
-        if ( ! $this->oProp->bIsAdmin ) {
53
+        if ( !$this->oProp->bIsAdmin ) {
54 54
             return false;     
55 55
         }
56 56
                     
57
-        if ( ! isset( $_GET[ 'page' ] ) ) {
57
+        if ( !isset( $_GET[ 'page' ] ) ) {
58 58
             return false;
59 59
         }
60 60
         
Please login to merge, or discard this patch.
factory/taxonomy_field/AdminPageFramework_TaxonomyField_Model.php 2 patches
Spacing   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -53,8 +53,8 @@  discard block
 block discarded – undo
53 53
         return $this->_getFilteredColumnsByFilterPrefix( 
54 54
             $this->oUtil->getAsArray( $aColumns ), 
55 55
             'columns_', 
56
-            isset( $_GET['taxonomy'] )  // in ajax, $_GET is not even set.
57
-                ? $_GET['taxonomy']
56
+            isset( $_GET[ 'taxonomy' ] )  // in ajax, $_GET is not even set.
57
+                ? $_GET[ 'taxonomy' ]
58 58
                 : ''
59 59
         );        
60 60
     }
@@ -71,8 +71,8 @@  discard block
 block discarded – undo
71 71
         return $this->_getFilteredColumnsByFilterPrefix( 
72 72
             $this->oUtil->getAsArray( $aSortableColumns ), 
73 73
             'sortable_columns_', 
74
-            isset( $_GET['taxonomy'] )  // in ajax, $_GET is not even set.
75
-                ? $_GET['taxonomy']
74
+            isset( $_GET[ 'taxonomy' ] )  // in ajax, $_GET is not even set.
75
+                ? $_GET[ 'taxonomy' ]
76 76
                 : ''
77 77
         );
78 78
     }   
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
             if ( $sTaxonomy ) {
87 87
                 $aColumns = $this->oUtil->addAndApplyFilter(
88 88
                     $this, 
89
-                    "{$sFilterPrefix}{$_GET['taxonomy']}",
89
+                    "{$sFilterPrefix}{$_GET[ 'taxonomy' ]}",
90 90
                     $aColumns
91 91
                 );
92 92
             }
@@ -123,7 +123,7 @@  discard block
 block discarded – undo
123 123
      * @since       3.7.0      No longer sets the value to `$this-oProp->aOptions` but to the form peoperty.
124 124
      * @internal
125 125
      */
126
-    protected function _setOptionArray( $iTermID=null, $sOptionKey ) {
126
+    protected function _setOptionArray( $iTermID = null, $sOptionKey ) {
127 127
         $this->oForm->aSavedData = $this->_getSavedFormData( 
128 128
             $iTermID, 
129 129
             $sOptionKey
@@ -139,7 +139,7 @@  discard block
 block discarded – undo
139 139
             
140 140
             return $this->oUtil->addAndApplyFilter(
141 141
                 $this, // the caller factory object
142
-                'options_' . $this->oProp->sClassName,
142
+                'options_'.$this->oProp->sClassName,
143 143
                 $this->_getSavedTermFormData( $iTermID, $sOptionKey )
144 144
                 // @todo maybe pass the term id because the user will not know whihch form data it is
145 145
             );
@@ -173,7 +173,7 @@  discard block
 block discarded – undo
173 173
      */
174 174
     public function _replyToValidateOptions( $iTermID ) {
175 175
 
176
-        if ( ! $this->_shouldProceedValidation() ) {
176
+        if ( !$this->_shouldProceedValidation() ) {
177 177
             return;
178 178
         }              
179 179
 
@@ -182,7 +182,7 @@  discard block
 block discarded – undo
182 182
         $_aSubmittedFormData    = $this->oForm->getSubmittedData( $_POST ); 
183 183
         $_aSubmittedFormData    = $this->oUtil->addAndApplyFilters( 
184 184
             $this, 
185
-            'validation_' . $this->oProp->sClassName, 
185
+            'validation_'.$this->oProp->sClassName, 
186 186
             call_user_func_array( 
187 187
                 array( $this, 'validate' ), // triggers __call()
188 188
                 array( $_aSubmittedFormData, $_aSavedFormData, $this )
@@ -193,7 +193,7 @@  discard block
 block discarded – undo
193 193
         
194 194
         // @todo Examine whether it is appropriate to merge recursivly 
195 195
         // as some fields will have a problem such as select with multiple options.
196
-        $_aTaxonomyFormData[ $iTermID ]  = $this->oUtil->uniteArrays( 
196
+        $_aTaxonomyFormData[ $iTermID ] = $this->oUtil->uniteArrays( 
197 197
             $_aSubmittedFormData, 
198 198
             $_aSavedFormData 
199 199
         );
@@ -215,11 +215,11 @@  discard block
 block discarded – undo
215 215
          */        
216 216
         protected function _shouldProceedValidation() {
217 217
 
218
-            if ( ! isset( $_POST[ $this->oProp->sClassHash ] ) ) { 
218
+            if ( !isset( $_POST[ $this->oProp->sClassHash ] ) ) { 
219 219
             
220 220
                 return false;
221 221
             }
222
-            if ( ! wp_verify_nonce( $_POST[ $this->oProp->sClassHash ], $this->oProp->sClassHash ) ) {
222
+            if ( !wp_verify_nonce( $_POST[ $this->oProp->sClassHash ], $this->oProp->sClassHash ) ) {
223 223
                 return false;
224 224
             }        
225 225
             return true;
Please login to merge, or discard this patch.
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -215,7 +215,7 @@
 block discarded – undo
215 215
          */        
216 216
         protected function _shouldProceedValidation() {
217 217
 
218
-            if ( ! isset( $_POST[ $this->oProp->sClassHash ] ) ) { 
218
+            if ( ! isset( $_POST[ $this->oProp->sClassHash ] ) ) {
219 219
             
220 220
                 return false;
221 221
             }
Please login to merge, or discard this patch.
development/factory/admin_page/AdminPageFramework_Model_Form.php 2 patches
Spacing   +17 added lines, -17 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
      * @since       3.3.0
59 59
      * @since       3.3.1       Moved from `AdminPageFramework_Setting_Base`.
60 60
      */
61
-    public function __construct( $sOptionKey=null, $sCallerPath=null, $sCapability='manage_options', $sTextDomain='admin-page-framework' ) {
61
+    public function __construct( $sOptionKey = null, $sCallerPath = null, $sCapability = 'manage_options', $sTextDomain = 'admin-page-framework' ) {
62 62
 
63 63
         parent::__construct( $sOptionKey, $sCallerPath, $sCapability, $sTextDomain );
64 64
 
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
 //        if ( $this->oProp->bIsAdminAjax ) {
67 67
 //            return;
68 68
 //        }
69
-        if ( ! $this->oProp->bIsAdmin ) {
69
+        if ( !$this->oProp->bIsAdmin ) {
70 70
             return;
71 71
         }
72 72
 
@@ -116,7 +116,7 @@  discard block
 block discarded – undo
116 116
             'section_title' => null,
117 117
             'section_id'    => null,
118 118
         );
119
-        if ( ! $aFieldset[ 'help' ] ) {
119
+        if ( !$aFieldset[ 'help' ] ) {
120 120
             return;
121 121
         }
122 122
 
@@ -134,7 +134,7 @@  discard block
 block discarded – undo
134 134
                 'help_tab_id'               => $_sRootSectionID,
135 135
                 'help_tab_content'          => "<span class='contextual-help-tab-title'>" 
136 136
                         . $aFieldset[ 'title' ] 
137
-                    . "</span> - " . PHP_EOL
137
+                    . "</span> - ".PHP_EOL
138 138
                     . $aFieldset[ 'help' ],
139 139
                 'help_tab_sidebar_content'  => $aFieldset[ 'help_aside' ] 
140 140
                     ? $aFieldset[ 'help_aside' ] 
@@ -168,7 +168,7 @@  discard block
 block discarded – undo
168 168
         public function _registerHelpPaneItemsOfFormSections( $aSectionsets ) {            
169 169
 // @todo Test if help pane item gets displayed        
170 170
 
171
-            foreach( $aSectionsets as $_aSectionset ) {
171
+            foreach ( $aSectionsets as $_aSectionset ) {
172 172
 // @todo check capability and conditions                
173 173
                 $_aSectionset = $_aSectionset + array(
174 174
                     'help'          => null,
@@ -202,13 +202,13 @@  discard block
 block discarded – undo
202 202
      */
203 203
     public function _replyToDetermineSectionsetVisibility( $bVisible, $aSectionset ) {
204 204
 
205
-        if ( ! current_user_can( $aSectionset[ 'capability' ] ) ) {
205
+        if ( !current_user_can( $aSectionset[ 'capability' ] ) ) {
206 206
             return false;
207 207
         }
208
-        if ( ! $aSectionset[ 'if' ] ) { 
208
+        if ( !$aSectionset[ 'if' ] ) { 
209 209
             return false;
210 210
         }
211
-        if ( ! $this->_isSectionOfCurrentPage( $aSectionset ) ) { 
211
+        if ( !$this->_isSectionOfCurrentPage( $aSectionset ) ) { 
212 212
             return false;
213 213
         }
214 214
         return $bVisible;
@@ -226,15 +226,15 @@  discard block
 block discarded – undo
226 226
         private function _isSectionOfCurrentPage( array $aSectionset ) {
227 227
         
228 228
             // Make sure the value type is string so that when the page_slug is not set, it won't match.
229
-            $_sCurrentPageSlug  = ( string ) $this->oProp->getCurrentPageSlug();
229
+            $_sCurrentPageSlug = ( string ) $this->oProp->getCurrentPageSlug();
230 230
             
231 231
             // Make sure if it's in the loading page.
232
-            if ( $aSectionset[ 'page_slug' ] !== $_sCurrentPageSlug  ) { 
232
+            if ( $aSectionset[ 'page_slug' ] !== $_sCurrentPageSlug ) { 
233 233
                 return false; 
234 234
             }
235 235
 
236 236
             // If no tag is specified, the user wants to display the section regardless of the tab.
237
-            if ( ! $aSectionset[ 'tab_slug' ] ) {
237
+            if ( !$aSectionset[ 'tab_slug' ] ) {
238 238
                 return true;
239 239
             }
240 240
                 
@@ -250,7 +250,7 @@  discard block
 block discarded – undo
250 250
      */
251 251
     public function _replyToDetermineFieldsetVisibility( $bVisible, $aFieldset ) {
252 252
         
253
-        $_sCurrentPageSlug  = $this->oProp->getCurrentPageSlug();
253
+        $_sCurrentPageSlug = $this->oProp->getCurrentPageSlug();
254 254
         
255 255
         // If the specified field does not exist, do nothing.
256 256
         if ( $aFieldset[ 'page_slug' ] !== $_sCurrentPageSlug ) { 
@@ -280,7 +280,7 @@  discard block
 block discarded – undo
280 280
             array( $_sSectionPath, 'page_slug' ), 
281 281
             $this->oProp->getCurrentPageSlugIfAdded()
282 282
         );        
283
-        $aFieldset[ 'tab_slug' ]        = $this->oUtil->getElement( 
283
+        $aFieldset[ 'tab_slug' ] = $this->oUtil->getElement( 
284 284
             $aSectionsets, 
285 285
             array( $_sSectionPath, 'tab_slug' ), 
286 286
             $this->oProp->getCurrentInPageTabSlugIfAdded()
@@ -291,11 +291,11 @@  discard block
 block discarded – undo
291 291
             $aSectionsets,
292 292
             $_sSectionPath
293 293
         );
294
-        $aFieldset[ 'section_title' ]   = $this->oUtil->getElement( 
294
+        $aFieldset[ 'section_title' ] = $this->oUtil->getElement( 
295 295
             $_aSectionset, 
296 296
             'title'
297 297
         );
298
-        $aFieldset[ 'capability' ]   = $aFieldset[ 'capability' ]
298
+        $aFieldset[ 'capability' ] = $aFieldset[ 'capability' ]
299 299
             ? $aFieldset[ 'capability' ]
300 300
             : $this->_replyToGetCapabilityForForm( 
301 301
                 $this->oUtil->getElement( $_aSectionset, 'capability' ),
@@ -345,13 +345,13 @@  discard block
 block discarded – undo
345 345
             
346 346
             // Find the capability of the parent section if nested.
347 347
             if ( 0 < $aSectionset[ '_nested_depth' ] ) {
348
-                $_aSectionPath         = $aSectionset[ '_section_path_array' ];
348
+                $_aSectionPath = $aSectionset[ '_section_path_array' ];
349 349
                 array_pop( $_aSectionPath ); // remove the last element
350 350
                 $_sParentCapability = $this->oUtil->getElement(
351 351
                     $this->oForm->aSectionsets,
352 352
                     array_merge( $_aSectionPath, array( 'capability' ) )
353 353
                 );
354
-                if( $_sParentCapability ) {
354
+                if ( $_sParentCapability ) {
355 355
                     return $_sParentCapability;
356 356
                 }
357 357
             }
Please login to merge, or discard this patch.
Braces   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -165,7 +165,7 @@  discard block
 block discarded – undo
165 165
          * @return      void
166 166
          * @since       3.7.0
167 167
          */
168
-        public function _registerHelpPaneItemsOfFormSections( $aSectionsets ) {            
168
+        public function _registerHelpPaneItemsOfFormSections( $aSectionsets ) {
169 169
 // @todo Test if help pane item gets displayed        
170 170
 
171 171
             foreach( $aSectionsets as $_aSectionset ) {
@@ -205,10 +205,10 @@  discard block
 block discarded – undo
205 205
         if ( ! current_user_can( $aSectionset[ 'capability' ] ) ) {
206 206
             return false;
207 207
         }
208
-        if ( ! $aSectionset[ 'if' ] ) { 
208
+        if ( ! $aSectionset[ 'if' ] ) {
209 209
             return false;
210 210
         }
211
-        if ( ! $this->_isSectionOfCurrentPage( $aSectionset ) ) { 
211
+        if ( ! $this->_isSectionOfCurrentPage( $aSectionset ) ) {
212 212
             return false;
213 213
         }
214 214
         return $bVisible;
@@ -229,7 +229,7 @@  discard block
 block discarded – undo
229 229
             $_sCurrentPageSlug  = ( string ) $this->oProp->getCurrentPageSlug();
230 230
             
231 231
             // Make sure if it's in the loading page.
232
-            if ( $aSectionset[ 'page_slug' ] !== $_sCurrentPageSlug  ) { 
232
+            if ( $aSectionset[ 'page_slug' ] !== $_sCurrentPageSlug  ) {
233 233
                 return false; 
234 234
             }
235 235
 
@@ -253,7 +253,7 @@  discard block
 block discarded – undo
253 253
         $_sCurrentPageSlug  = $this->oProp->getCurrentPageSlug();
254 254
         
255 255
         // If the specified field does not exist, do nothing.
256
-        if ( $aFieldset[ 'page_slug' ] !== $_sCurrentPageSlug ) { 
256
+        if ( $aFieldset[ 'page_slug' ] !== $_sCurrentPageSlug ) {
257 257
             return false; 
258 258
         }        
259 259
         return parent::_replyToDetermineFieldsetVisibility( $bVisible, $aFieldset );
@@ -266,7 +266,7 @@  discard block
 block discarded – undo
266 266
      */
267 267
     public function _replyToFormatFieldsetDefinition( $aFieldset, $aSectionsets ) {
268 268
         
269
-        if ( empty( $aFieldset ) ) { 
269
+        if ( empty( $aFieldset ) ) {
270 270
             return $aFieldset; 
271 271
         }
272 272
         
Please login to merge, or discard this patch.
admin_page/_view/AdminPageFramework_View__PageRenderer__InPageTabs.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
             $_sTag              = $this->_getInPageTabTag( $sTag, $_aPage );
74 74
              
75 75
             // If the in-page tabs' visibility is set to false, returns the title.
76
-            if ( ! $_aPage[ 'show_in_page_tabs' ] ) {
76
+            if ( !$_aPage[ 'show_in_page_tabs' ] ) {
77 77
                 return $this->getElement( $aInPageTabs, array( $_sCurrentTabSlug, 'title' ) )
78 78
                     ? "<{$_sTag} class='admin-page-framework-in-page-tab-title'>"
79 79
                             . $aInPageTabs[ $_sCurrentTabSlug ][ 'title' ]
@@ -100,9 +100,9 @@  discard block
 block discarded – undo
100 100
             private function _getInPageTabNavigationBar( array $aTabs, $sActiveTab, $sCurrentPageSlug, $sTag ) {
101 101
 
102 102
                 $_oTabBar = new AdminPageFramework_TabNavigationBar(
103
-                    $aTabs,      // tabs
103
+                    $aTabs, // tabs
104 104
                     $sActiveTab, // active tab slug
105
-                    $sTag,       // container tag
105
+                    $sTag, // container tag
106 106
                     array(       // container attributes
107 107
                         'class' => 'in-page-tab',
108 108
                     ),
@@ -130,7 +130,7 @@  discard block
 block discarded – undo
130 130
                  * @since           3.5.10
131 131
                  * @since           3.6.3       Moved from `AdminPageFramework_Page_View`.
132 132
                  */
133
-                public function _replyToFormatNavigationTabItem_InPageTab( array $aTab, array $aStructure, array $aTabs, array $aArguments=array() ) {
133
+                public function _replyToFormatNavigationTabItem_InPageTab( array $aTab, array $aStructure, array $aTabs, array $aArguments = array() ) {
134 134
                     $_oFormatter = new AdminPageFramework_Format_NavigationTab_InPageTab(
135 135
                         $aTab,
136 136
                         $aStructure,
Please login to merge, or discard this patch.