Completed
Branch master (bf4987)
by Michael
03:55
created
development/factory/term_meta/AdminPageFramework_TermMeta_View.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
      * @return      string      the flat input name attribute
38 38
      */    
39 39
     public function _replyToGetFlatInputName( /* $sFlatNameAttribute, $aField, $sKey, $sSectionIndex */ ) {
40
-        $_aParams   = func_get_args() + array( null, null, null );
40
+        $_aParams = func_get_args() + array( null, null, null );
41 41
         return $_aParams[ 0 ];
42 42
     }
43 43
             
Please login to merge, or discard this patch.
development/factory/term_meta/AdminPageFramework_TermMeta.php 2 patches
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
      * @param       string          The text domain. Default: `admin-page-framework`.
47 47
      * @return      void
48 48
      */ 
49
-    public function __construct( $asTaxonomySlug, $sCapability='manage_options', $sTextDomain='admin-page-framework' ) {
49
+    public function __construct( $asTaxonomySlug, $sCapability = 'manage_options', $sTextDomain = 'admin-page-framework' ) {
50 50
         
51 51
         if ( empty( $asTaxonomySlug ) ) { 
52 52
             return; 
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
         // Properties 
56 56
         $_sProprtyClassName = isset( $this->aSubClassNames[ 'oProp' ] )
57 57
             ? $this->aSubClassNames[ 'oProp' ]
58
-            : 'AdminPageFramework_Property_' . $this->_sStructureType;        
58
+            : 'AdminPageFramework_Property_'.$this->_sStructureType;        
59 59
         $this->oProp        = new $_sProprtyClassName( 
60 60
             $this, 
61 61
             get_class( $this ), 
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
             $sTextDomain, 
64 64
             $this->_sStructureType 
65 65
         );     
66
-        $this->oProp->aTaxonomySlugs    = ( array ) $asTaxonomySlug;
66
+        $this->oProp->aTaxonomySlugs = ( array ) $asTaxonomySlug;
67 67
         
68 68
         parent::__construct( $this->oProp );
69 69
         
Please login to merge, or discard this patch.
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
      */ 
49 49
     function __construct( $asTaxonomySlug, $sOptionKey='', $sCapability='manage_options', $sTextDomain='admin-page-framework' ) {
50 50
         
51
-        if ( empty( $asTaxonomySlug ) ) { 
51
+        if ( empty( $asTaxonomySlug ) ) {
52 52
             // @todo trigger a PHP warning
53 53
             return; 
54 54
         }
Please login to merge, or discard this patch.
factory/term_meta/_model/AdminPageFramework_TermMeta_Model___TermMeta.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,6 +21,6 @@
 block discarded – undo
21 21
     /**
22 22
      * The callback function name or the callable object to retrieve meta data.
23 23
      */
24
-    protected $osCallable   = 'get_term_meta'; 
24
+    protected $osCallable = 'get_term_meta'; 
25 25
         
26 26
 }
Please login to merge, or discard this patch.
development/factory/term_meta/AdminPageFramework_TermMeta_Router.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,5 +16,5 @@
 block discarded – undo
16 16
  * @subpackage      Factory/TermMeta
17 17
  * @internal
18 18
  */
19
-abstract class AdminPageFramework_TermMeta_Router extends AdminPageFramework_TaxonomyField_Controller { 
19
+abstract class AdminPageFramework_TermMeta_Router extends AdminPageFramework_TaxonomyField_Controller {
20 20
 }
Please login to merge, or discard this patch.
term_meta/form/_view/AdminPageFramework_Form_View___CSS_term_meta.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
      * @since       DEVVER
22 22
      * @return      string
23 23
      */
24
-    protected function _get() {        
24
+    protected function _get() {
25 25
         return $this->_getRules();
26 26
     }
27 27
         /**
Please login to merge, or discard this patch.
development/factory/term_meta/form/AdminPageFramework_Form_term_meta.php 2 patches
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
             '' // default value
55 55
         );    
56 56
     
57
-        if ( ! $this->canUserView( $this->sCapability ) ) {
57
+        if ( !$this->canUserView( $this->sCapability ) ) {
58 58
             return '';
59 59
         }    
60 60
 
@@ -82,10 +82,10 @@  discard block
 block discarded – undo
82 82
         );        
83 83
         
84 84
         $_sAddNewTerm     = $bEditTerm ? '' : ' add-new-term';
85
-        $_sClassSelectors = 'admin-page-framework-form-table-term_meta' . $_sAddNewTerm;
85
+        $_sClassSelectors = 'admin-page-framework-form-table-term_meta'.$_sAddNewTerm;
86 86
         return '<tr class="admin-page-framework-form-table-outer-row-term_meta">'
87 87
             . '<td colspan=2>'
88
-                . '<table class="' . $_sClassSelectors . '">'
88
+                . '<table class="'.$_sClassSelectors.'">'
89 89
                     . '<tbody>'
90 90
                         . '<tr>'
91 91
                             . '<td>'
Please login to merge, or discard this patch.
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
      * @since       DEVVER
28 28
      * @return      void
29 29
      */
30
-    public function construct() {        
30
+    public function construct() {
31 31
         $this->_addDefaultResources();
32 32
     }
33 33
 
Please login to merge, or discard this patch.
development/factory/term_meta/AdminPageFramework_TermMeta_Model.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -56,10 +56,10 @@  discard block
 block discarded – undo
56 56
      * @since       3.8.0
57 57
      * @internal
58 58
      */
59
-    protected function _setOptionArray( $iTermID=null, $_deprecated=null ) {
59
+    protected function _setOptionArray( $iTermID = null, $_deprecated = null ) {
60 60
         $this->oForm->aSavedData = $this->oUtil->addAndApplyFilter(
61 61
             $this, // the caller factory object
62
-            'options_' . $this->oProp->sClassName,
62
+            'options_'.$this->oProp->sClassName,
63 63
             $this->_getSavedTermMetas( $iTermID, $this->oForm->aFieldsets )
64 64
             // @todo maybe pass the term id because the user will not know whihch form data is
65 65
         );        
@@ -91,7 +91,7 @@  discard block
 block discarded – undo
91 91
      */
92 92
     public function _replyToValidateOptions( $iTermID ) {
93 93
 
94
-        if ( ! $this->_shouldProceedValidation() ) {
94
+        if ( !$this->_shouldProceedValidation() ) {
95 95
             return;
96 96
         }              
97 97
 
@@ -99,19 +99,19 @@  discard block
 block discarded – undo
99 99
         $_aSubmittedFormData    = $this->oForm->getSubmittedData( $_POST ); 
100 100
         $_aSubmittedFormData    = $this->oUtil->addAndApplyFilters( 
101 101
             $this, 
102
-            'validation_' . $this->oProp->sClassName, 
102
+            'validation_'.$this->oProp->sClassName, 
103 103
             call_user_func_array(       // 1st param
104 104
                 array( $this, 'validate' ), // triggers __call()
105 105
                 array( $_aSubmittedFormData, $_aSavedFormData, $this )
106 106
             ), // 3.5.10+
107
-            $_aSavedFormData,   // 2nd param
107
+            $_aSavedFormData, // 2nd param
108 108
             $this   // 3rd param
109 109
         );
110 110
         
111 111
         // @todo Update term metas
112 112
         $this->oForm->updateMetaDataByType( 
113
-            $iTermID,  // object id
114
-            $_aSubmittedFormData,  // user submit form data
113
+            $iTermID, // object id
114
+            $_aSubmittedFormData, // user submit form data
115 115
             $this->oForm->dropRepeatableElements( $_aSavedFormData ), // Drop repeatable section elements from the saved meta array.
116 116
             $this->oForm->sStructureType   // fields type
117 117
         );             
Please login to merge, or discard this patch.
_common/form/_view/sectionset/AdminPageFramework_Form_View___FieldTitle.php 3 patches
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -166,7 +166,7 @@
 block discarded – undo
166 166
                     $aField[ '_structure_type' ], 
167 167
                     array( 'widget', 'post_meta_box', 'page_meta_box' ) 
168 168
                 ) 
169
-            ){
169
+            ) {
170 170
                 return "<span class='title-colon'>:</span>" ;
171 171
             }                                                 
172 172
             
Please login to merge, or discard this patch.
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -173,7 +173,7 @@
 block discarded – undo
173 173
                             . $this->getFrameworkNameVersion()
174 174
                             . '  ('
175 175
                                 . __( 'This information will be disabled when <code>WP_DEBUG</code> is set to <code>false</code> in <code>wp-config.php</code>.', 'admin-page-framework' )
176
-                              . ')'
176
+                                . ')'
177 177
                         . '</span>',
178 178
                     'attributes'    => array(
179 179
                         'container' => array(
Please login to merge, or discard this patch.
Spacing   +15 added lines, -15 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
         
71 71
         $aField = $this->aFieldset;
72 72
         
73
-        if ( ! $aField[ 'show_title_column' ] ) {
73
+        if ( !$aField[ 'show_title_column' ] ) {
74 74
             return '';
75 75
         }          
76 76
             
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
             'for'   => $_oInputTagIDGenerator->get(),
85 85
         );
86 86
         $_sOutput .= $aField[ 'title' ]
87
-            ? "<label " . $this->getAttributes( $_aLabelAttributes ) . "'>"
87
+            ? "<label ".$this->getAttributes( $_aLabelAttributes )."'>"
88 88
                     . "<a id='{$aField[ 'field_id' ]}'></a>"  // to allow the browser to link to the element.
89 89
                     . "<span title='" 
90 90
                             . esc_attr( 
@@ -115,12 +115,12 @@  discard block
 block discarded – undo
115 115
          */
116 116
         private function _getFieldOutputsInFieldTitleAreaFromNestedFields( $aField ) {
117 117
             
118
-            if ( ! $this->hasNestedFields( $aField ) ) {
118
+            if ( !$this->hasNestedFields( $aField ) ) {
119 119
                 return '';
120 120
             }
121 121
             
122 122
             $_sOutput = '';
123
-            foreach( $aField[ 'content' ] as $_aNestedField ) {
123
+            foreach ( $aField[ 'content' ] as $_aNestedField ) {
124 124
                 
125 125
                 if ( 'field_title' !== $_aNestedField[ 'placement' ] ) {
126 126
                     continue;
@@ -128,13 +128,13 @@  discard block
 block discarded – undo
128 128
 
129 129
                 $_oFieldset = new AdminPageFramework_Form_View___Fieldset( 
130 130
                     $_aNestedField, 
131
-                    $this->aSavedData,    // passed by reference. @todo: examine why it needs to be passed by reference.
131
+                    $this->aSavedData, // passed by reference. @todo: examine why it needs to be passed by reference.
132 132
                     $this->aFieldErrors, 
133 133
                     $this->aFieldTypeDefinitions,
134 134
                     $this->oMsg,
135 135
                     $this->aCallbacks // field output element callables.
136 136
                 );
137
-                $_sOutput   .= $_oFieldset->get(); // field output                
137
+                $_sOutput .= $_oFieldset->get(); // field output                
138 138
 
139 139
             }
140 140
             return $_sOutput;
@@ -146,7 +146,7 @@  discard block
 block discarded – undo
146 146
          * @since       3.7.0
147 147
          */
148 148
         private function _getToolTip( $asTip, $sElementID ) {
149
-            $_oToolTip           = new AdminPageFramework_Form_View___ToolTip(
149
+            $_oToolTip = new AdminPageFramework_Form_View___ToolTip(
150 150
                 $asTip,
151 151
                 $sElementID
152 152
             );            
@@ -160,14 +160,14 @@  discard block
 block discarded – undo
160 160
          */
161 161
         private function _getDebugInfo( $aField ) {
162 162
             
163
-            if ( ! $this->_shouldShowDebugInfo( $aField ) ) {
163
+            if ( !$this->_shouldShowDebugInfo( $aField ) ) {
164 164
                 return '';
165 165
             }
166
-            $_oToolTip           = new AdminPageFramework_Form_View___ToolTip(
166
+            $_oToolTip = new AdminPageFramework_Form_View___ToolTip(
167 167
                 array(
168 168
                     'title'         => $this->oMsg->get( 'field_arguments' ),
169 169
                     'dash-icon'     => 'dashicons-info',
170
-                    'icon_alt_text' => '[' . $this->oMsg->get( 'debug' ) . ' ]',
170
+                    'icon_alt_text' => '['.$this->oMsg->get( 'debug' ).' ]',
171 171
                     'content'       => AdminPageFramework_Debug::get( $aField )
172 172
                         . '<span class="admin-page-framework-info">'
173 173
                             . $this->getFrameworkNameVersion()
@@ -181,7 +181,7 @@  discard block
 block discarded – undo
181 181
                         ),
182 182
                     )
183 183
                 ),
184
-                $aField[ 'field_id' ] . '_debug'
184
+                $aField[ 'field_id' ].'_debug'
185 185
             );            
186 186
             return $_oToolTip->get();                    
187 187
             
@@ -192,7 +192,7 @@  discard block
 block discarded – undo
192 192
              */
193 193
             private function _shouldShowDebugInfo( $aField ) {
194 194
                 
195
-                if ( ! $aField[ 'show_debug_info' ] ) {
195
+                if ( !$aField[ 'show_debug_info' ] ) {
196 196
                     return false;
197 197
                 }
198 198
                 if ( strlen( $aField[ '_parent_field_path' ] ) ) {
@@ -208,7 +208,7 @@  discard block
 block discarded – undo
208 208
          */
209 209
         private function _getTitleColon( $aField ) {
210 210
             
211
-            if ( ! isset( $aField[ 'title' ] ) || '' === $aField[ 'title' ] ) {
211
+            if ( !isset( $aField[ 'title' ] ) || '' === $aField[ 'title' ] ) {
212 212
                 return '';
213 213
             }                    
214 214
             if ( 
@@ -216,8 +216,8 @@  discard block
 block discarded – undo
216 216
                     $aField[ '_structure_type' ], 
217 217
                     array( 'widget', 'post_meta_box', 'page_meta_box' ) 
218 218
                 ) 
219
-            ){
220
-                return "<span class='title-colon'>:</span>" ;
219
+            ) {
220
+                return "<span class='title-colon'>:</span>";
221 221
             }                                                 
222 222
             
223 223
         }
Please login to merge, or discard this patch.
form/_view/sectionset/AdminPageFramework_Form_View___SectionTitle.php 3 patches
Braces   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@  discard block
 block discarded – undo
16 16
  * @since       3.7.0      Changed the name from `AdminPageFramework_FormPart_SectionTitle`.
17 17
  * @internal
18 18
  */
19
-class AdminPageFramework_Form_View___SectionTitle extends AdminPageFramework_Form_View___Section_Base {            
19
+class AdminPageFramework_Form_View___SectionTitle extends AdminPageFramework_Form_View___Section_Base {
20 20
   
21 21
     public $aArguments      = array(
22 22
         'title'         => null,
@@ -135,7 +135,7 @@  discard block
 block discarded – undo
135 135
              * @since       3.8.0
136 136
              * @internal
137 137
              */
138
-            private function _getFieldsetsOutputInSectionTitleArea( array $aFieldsets, $iSectionIndex, $aFieldTypeDefinitions ) {   
138
+            private function _getFieldsetsOutputInSectionTitleArea( array $aFieldsets, $iSectionIndex, $aFieldTypeDefinitions ) {
139 139
             
140 140
                 $_aFieldsetsInSectionTitle   = array();
141 141
                 $_aFieldsetsInSectionTitle[] = $this->_getSectionTitleField( $aFieldsets, $iSectionIndex, $aFieldTypeDefinitions );
@@ -145,7 +145,7 @@  discard block
 block discarded – undo
145 145
                 );
146 146
                 $_sOutput = '';
147 147
                 foreach( $_aFieldsetsInSectionTitle as $_aFieldset ) {
148
-                    if ( empty( $_aFieldset ) )  {
148
+                    if ( empty( $_aFieldset ) ) {
149 149
                         continue;
150 150
                     }
151 151
                     $_sOutput .= $this->getFieldsetOutput( $_aFieldset );
@@ -189,7 +189,7 @@  discard block
 block discarded – undo
189 189
                  * @since       3.7.0       Moved from `AdminPageFramework_FormPart_SectionTitle`.
190 190
                  * @return      array|void
191 191
                  */
192
-                private function _getSectionTitleField( array $aFieldsets, $iSectionIndex, $aFieldTypeDefinitions ) {   
192
+                private function _getSectionTitleField( array $aFieldsets, $iSectionIndex, $aFieldTypeDefinitions ) {
193 193
                 
194 194
                     foreach( $aFieldsets as $_aFieldset ) {
195 195
                         
Please login to merge, or discard this patch.
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -158,7 +158,7 @@
 block discarded – undo
158 158
                                     . $this->getFrameworkNameVersion()
159 159
                                     . '  ('
160 160
                                         . $this->oMsg->get( 'debug_info_will_be_disabled' )
161
-                                      . ')'
161
+                                        . ')'
162 162
                                 . '</span>',
163 163
                             'attributes'    => array(
164 164
                                 'container' => array(
Please login to merge, or discard this patch.
Spacing   +14 added lines, -14 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();
@@ -91,7 +91,7 @@  discard block
 block discarded – undo
91 91
          * @since       3.7.0      Moved from `AdminPageFramework_FormPart_SectionTitle`.
92 92
          * @return      string      The section title output. 
93 93
          */
94
-        protected function _getSectionTitle( $sTitle, $sTag, $aFieldsets, $iSectionIndex=null, $aFieldTypeDefinitions=array(), $aCollapsible=array() ) {
94
+        protected function _getSectionTitle( $sTitle, $sTag, $aFieldsets, $iSectionIndex = null, $aFieldTypeDefinitions = array(), $aCollapsible = array() ) {
95 95
 
96 96
             $_aSectionTitleFieldset = $this->_getSectionTitleField( $aFieldsets, $iSectionIndex, $aFieldTypeDefinitions );
97 97
             $_sFieldsInSectionTitle = $this->_getFieldsetsOutputInSectionTitleArea( $aFieldsets, $iSectionIndex, $aFieldTypeDefinitions );
@@ -101,7 +101,7 @@  discard block
 block discarded – undo
101 101
             $_bHasOtherFields       = $_sFieldsInSectionTitle
102 102
                 ? ' has-fields'
103 103
                 : '';
104
-            $_sOutput               = $_sTitle . $_sFieldsInSectionTitle;
104
+            $_sOutput               = $_sTitle.$_sFieldsInSectionTitle;
105 105
             return $_sOutput
106 106
                 ? "<div class='section-title-container{$_bHasOtherFields}'>"
107 107
                     . $_sOutput 
@@ -130,7 +130,7 @@  discard block
 block discarded – undo
130 130
                  * @return      string
131 131
                  */
132 132
                 private function _getToolTip( $_aSectionset ) {
133
-                    $_sSectionTitleTagID = str_replace( '|', '_', $_aSectionset[ '_section_path' ]  ) . '_' . $this->aArguments[ 'section_index' ];
133
+                    $_sSectionTitleTagID = str_replace( '|', '_', $_aSectionset[ '_section_path' ] ).'_'.$this->aArguments[ 'section_index' ];
134 134
                     $_oToolTip           = new AdminPageFramework_Form_View___ToolTip(
135 135
                         $_aSectionset[ 'tip' ],
136 136
                         $_sSectionTitleTagID
@@ -145,14 +145,14 @@  discard block
 block discarded – undo
145 145
                  */
146 146
                 private function _getDebugInfo( $aSectionset ) {
147 147
                                         
148
-                    if ( ! $aSectionset[ 'show_debug_info' ] ) {
148
+                    if ( !$aSectionset[ 'show_debug_info' ] ) {
149 149
                         return '';
150 150
                     }
151
-                    $_oToolTip           = new AdminPageFramework_Form_View___ToolTip(
151
+                    $_oToolTip = new AdminPageFramework_Form_View___ToolTip(
152 152
                         array(
153 153
                             'title'         => $this->oMsg->get( 'section_arguments' ),
154 154
                             'dash-icon'     => 'dashicons-info',
155
-                            'icon_alt_text' => '[' . $this->oMsg->get( 'debug' ) . ' ]',
155
+                            'icon_alt_text' => '['.$this->oMsg->get( 'debug' ).' ]',
156 156
                             'content'       => AdminPageFramework_Debug::get( $aSectionset )
157 157
                                 . '<span class="admin-page-framework-info">'
158 158
                                     . $this->getFrameworkNameVersion()
@@ -166,7 +166,7 @@  discard block
 block discarded – undo
166 166
                                 ),
167 167
                             )
168 168
                         ),
169
-                        $aSectionset[ '_section_path' ] . '_debug'
169
+                        $aSectionset[ '_section_path' ].'_debug'
170 170
                     );            
171 171
                     return $_oToolTip->get();                    
172 172
                     
@@ -195,8 +195,8 @@  discard block
 block discarded – undo
195 195
             private function _getFieldsetsOutputInSectionTitleArea( array $aFieldsets, $iSectionIndex, $aFieldTypeDefinitions ) {   
196 196
 
197 197
                 $_sOutput = '';
198
-                foreach( $this->_getFieldsetsInSectionTitleArea( $aFieldsets, $iSectionIndex, $aFieldTypeDefinitions ) as $_aFieldset ) {
199
-                    if ( empty( $_aFieldset ) )  {
198
+                foreach ( $this->_getFieldsetsInSectionTitleArea( $aFieldsets, $iSectionIndex, $aFieldTypeDefinitions ) as $_aFieldset ) {
199
+                    if ( empty( $_aFieldset ) ) {
200 200
                         continue;
201 201
                     }
202 202
                     $_sOutput .= $this->getFieldsetOutput( $_aFieldset );
@@ -212,7 +212,7 @@  discard block
 block discarded – undo
212 212
                 private function _getFieldsetsInSectionTitleArea( array $aFieldsets, $iSectionIndex, $aFieldTypeDefinitions ) {
213 213
                     
214 214
                     $_aFieldsetsInSectionTitle = array();
215
-                    foreach( $aFieldsets as $_aFieldset ) {
215
+                    foreach ( $aFieldsets as $_aFieldset ) {
216 216
                         
217 217
                         if ( 'section_title' !== $_aFieldset[ 'placement' ] ) {
218 218
                             continue;
@@ -223,7 +223,7 @@  discard block
 block discarded – undo
223 223
                             $iSectionIndex,
224 224
                             $aFieldTypeDefinitions
225 225
                         );         
226
-                        $_aFieldsetsInSectionTitle[] = $_oFieldsetOutputFormatter->get();
226
+                        $_aFieldsetsInSectionTitle[ ] = $_oFieldsetOutputFormatter->get();
227 227
                         
228 228
                     }
229 229
                     return $_aFieldsetsInSectionTitle;
@@ -242,7 +242,7 @@  discard block
 block discarded – undo
242 242
                  */
243 243
                 private function _getSectionTitleField( array $aFieldsets, $iSectionIndex, $aFieldTypeDefinitions ) {   
244 244
                 
245
-                    foreach( $aFieldsets as $_aFieldset ) {
245
+                    foreach ( $aFieldsets as $_aFieldset ) {
246 246
                         
247 247
                         if ( 'section_title' !== $_aFieldset[ 'type' ] ) {
248 248
                             continue;
Please login to merge, or discard this patch.