Passed
Push — 1.10.x ( 918f1f...c8b126 )
by Yannick
419:13 queued 372:02
created
main/inc/lib/phpdocx/classes/CreateFootnote.inc 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -191,7 +191,7 @@  discard block
 block discarded – undo
191 191
 
192 192
         if ($type != '')
193 193
             $xmlAux .= ' ' . CreateElement::NAMESPACEWORD . 
194
-                       ':type="' . $type . '"';
194
+                        ':type="' . $type . '"';
195 195
 
196 196
         $this->_xml = $xmlAux . ' ' . CreateElement::NAMESPACEWORD .
197 197
                     ':id="' . (self::$_id - 2) .
@@ -208,11 +208,11 @@  discard block
 block discarded – undo
208 208
      * @access protected
209 209
      */
210 210
     protected function generateP($rsidR = '005F02E5', 
211
-                                 $rsidRDefault = '005F02E5',
212
-                                 $rsidP = '005F02E5')
211
+                                    $rsidRDefault = '005F02E5',
212
+                                    $rsidP = '005F02E5')
213 213
     {
214 214
         $xml = '<' . CreateElement::NAMESPACEWORD .
215
-               ':p>__GENERATEP__</' . CreateElement::NAMESPACEWORD . ':p>';
215
+                ':p>__GENERATEP__</' . CreateElement::NAMESPACEWORD . ':p>';
216 216
 
217 217
         $this->_xml = str_replace('__GENERATEFOOTNOTE__', $xml, $this->_xml);
218 218
     }
@@ -252,7 +252,7 @@  discard block
 block discarded – undo
252 252
      * @access protected
253 253
      */
254 254
     protected function generateSPACING($after = '0',
255
-                                       $line = '240', $lineRule = 'auto')
255
+                                        $line = '240', $lineRule = 'auto')
256 256
     {
257 257
         $xml = '<' . CreateElement::NAMESPACEWORD .
258 258
                 ':spacing w:after="' . $after .
Please login to merge, or discard this patch.
main/inc/lib/phpdocx/classes/CreateFontTable.inc 1 patch
Indentation   +21 added lines, -21 removed lines patch added patch discarded remove patch
@@ -127,10 +127,10 @@  discard block
 block discarded – undo
127 127
     protected function generateFONT($name = 'Calibri')
128 128
     {
129 129
         $this->_xml = '<' . CreateElement::NAMESPACEWORD . 
130
-                       ':font ' . CreateDocx::NAMESPACEWORD .
131
-                       ':name="' . $name .
132
-                       '">__GENERATEFONT__</' . CreateElement::NAMESPACEWORD .
133
-                       ':font>';
130
+                        ':font ' . CreateDocx::NAMESPACEWORD .
131
+                        ':name="' . $name .
132
+                        '">__GENERATEFONT__</' . CreateElement::NAMESPACEWORD .
133
+                        ':font>';
134 134
     }
135 135
 
136 136
     /**
@@ -142,10 +142,10 @@  discard block
 block discarded – undo
142 142
     protected function generatePANOSE1($val = '020F0502020204030204')
143 143
     {
144 144
         $xml = '<' . CreateElement::NAMESPACEWORD .
145
-               ':panose1 ' . CreateElement::NAMESPACEWORD .
146
-               ':val="' . $val .
147
-               '"></' . CreateElement::NAMESPACEWORD .
148
-               ':panose1>__GENERATEPANOSE1__';
145
+                ':panose1 ' . CreateElement::NAMESPACEWORD .
146
+                ':val="' . $val .
147
+                '"></' . CreateElement::NAMESPACEWORD .
148
+                ':panose1>__GENERATEPANOSE1__';
149 149
 
150 150
         $this->_xml = str_replace('__GENERATEFONT__', $xml, $this->_xml);
151 151
     }
@@ -159,9 +159,9 @@  discard block
 block discarded – undo
159 159
     protected function generateCHARSET($val = '00')
160 160
     {
161 161
         $xml = '<' . CreateElement::NAMESPACEWORD .
162
-               ':charset ' . CreateElement::NAMESPACEWORD .
163
-               ':val="' . $val . '"></' . CreateElement::NAMESPACEWORD .
164
-               ':charset>__GENERATECHARSET__';
162
+                ':charset ' . CreateElement::NAMESPACEWORD .
163
+                ':val="' . $val . '"></' . CreateElement::NAMESPACEWORD .
164
+                ':charset>__GENERATECHARSET__';
165 165
 
166 166
         $this->_xml = str_replace('__GENERATEPANOSE1__', $xml, $this->_xml);
167 167
     }
@@ -212,18 +212,18 @@  discard block
 block discarded – undo
212 212
      * @access protected
213 213
      */
214 214
     protected function generateSIG($usbA = 'A00002EF', $usbB = '4000207B',
215
-                                   $usbC = '00000000', $usbD = '00000000',
216
-                                   $csbA = '0000009F', $csbB = '00000000')
215
+                                    $usbC = '00000000', $usbD = '00000000',
216
+                                    $csbA = '0000009F', $csbB = '00000000')
217 217
     {
218 218
         $xml = '<' . CreateElement::NAMESPACEWORD .
219
-               ':sig ' . CreateElement::NAMESPACEWORD .
220
-               ':usb0="' . $usbA . '" ' . CreateElement::NAMESPACEWORD .
221
-               ':usb1="' . $usbB . '" ' . CreateElement::NAMESPACEWORD .
222
-               ':usb2="' . $usbC . '" ' . CreateElement::NAMESPACEWORD .
223
-               ':usb3="' . $usbD . '" ' . CreateElement::NAMESPACEWORD .
224
-               ':csb0="' . $csbA . '" ' . CreateElement::NAMESPACEWORD .
225
-               ':csb1="' . $csbB . '"></' . CreateElement::NAMESPACEWORD .
226
-               ':sig>';
219
+                ':sig ' . CreateElement::NAMESPACEWORD .
220
+                ':usb0="' . $usbA . '" ' . CreateElement::NAMESPACEWORD .
221
+                ':usb1="' . $usbB . '" ' . CreateElement::NAMESPACEWORD .
222
+                ':usb2="' . $usbC . '" ' . CreateElement::NAMESPACEWORD .
223
+                ':usb3="' . $usbD . '" ' . CreateElement::NAMESPACEWORD .
224
+                ':csb0="' . $csbA . '" ' . CreateElement::NAMESPACEWORD .
225
+                ':csb1="' . $csbB . '"></' . CreateElement::NAMESPACEWORD .
226
+                ':sig>';
227 227
 
228 228
         $this->_xml = str_replace('__GENERATEPITCH__', $xml, $this->_xml);
229 229
     }
Please login to merge, or discard this patch.
main/inc/lib/phpdocx/classes/CreateTableContents.inc 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -119,10 +119,10 @@
 block discarded – undo
119 119
                                                 \h \z \u')
120 120
     {
121 121
         $xml = '<' . CreateElement::NAMESPACEWORD .
122
-               ':fldSimple ' . CreateElement::NAMESPACEWORD .
123
-               ':instr="' . $instr .
124
-               '">__GENERATEP__</' . CreateElement::NAMESPACEWORD .
125
-               ':fldSimple>';
122
+                ':fldSimple ' . CreateElement::NAMESPACEWORD .
123
+                ':instr="' . $instr .
124
+                '">__GENERATEP__</' . CreateElement::NAMESPACEWORD .
125
+                ':fldSimple>';
126 126
 
127 127
         $this->_xml = str_replace('__GENERATEP__', $xml, $this->_xml);
128 128
     }
Please login to merge, or discard this patch.
main/inc/lib/phpdocx/classes/CreateStyleTable.inc 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -516,7 +516,7 @@
 block discarded – undo
516 516
      * @param string $themeFillTint
517 517
      */
518 518
     protected function generateSHD($val, $color = '', $fill = '',
519
-                                   $themeFill = '', $themeFillTint = '')
519
+                                    $themeFill = '', $themeFillTint = '')
520 520
     {
521 521
         $xmlAux = '<' . CreateElement::NAMESPACEWORD . ':shd ' .
522 522
             CreateElement::NAMESPACEWORD . ':val="' . $val . '"';
Please login to merge, or discard this patch.
main/inc/lib/phpdocx/classes/CreateTable.inc 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -202,7 +202,7 @@  discard block
 block discarded – undo
202 202
      * @access protected
203 203
      */
204 204
     protected function generateSHD($val = 'horz-cross', $color = 'ff0000',
205
-                                   $fill = '', $bgcolor = '', $themeFill = '')
205
+                                    $fill = '', $bgcolor = '', $themeFill = '')
206 206
     {
207 207
         $xmlAux = '<' . CreateElement::NAMESPACEWORD . ':shd w:val="' .
208 208
             $val . '"';
@@ -237,7 +237,7 @@  discard block
 block discarded – undo
237 237
      * @access protected
238 238
      */
239 239
     protected function generateTBLBOTTOM($val="single", $sz="4", $space='0',
240
-                                         $color='auto')
240
+                                            $color='auto')
241 241
     {
242 242
         $xml = '<' . CreateElement::NAMESPACEWORD .
243 243
             ':bottom ' . CreateElement::NAMESPACEWORD .
@@ -319,7 +319,7 @@  discard block
 block discarded – undo
319 319
      * @access protected
320 320
      */
321 321
     protected function generateTBLINSIDEH($val = "single", $sz = "4",
322
-                                          $space = '0', $color = 'auto')
322
+                                            $space = '0', $color = 'auto')
323 323
     {
324 324
         $xml = '<' . CreateElement::NAMESPACEWORD .
325 325
             ':insideH ' . CreateElement::NAMESPACEWORD .
@@ -341,7 +341,7 @@  discard block
 block discarded – undo
341 341
      * @access protected
342 342
      */
343 343
     protected function generateTBLINSIDEV($val = "single", $sz= "4", $space='0',
344
-                                          $color= 'auto')
344
+                                            $color= 'auto')
345 345
     {
346 346
         $xml = '<' . CreateElement::NAMESPACEWORD . ':insideV ' .
347 347
             CreateElement::NAMESPACEWORD . ':val="' . $val . '" ' .
@@ -362,7 +362,7 @@  discard block
 block discarded – undo
362 362
      * @access protected
363 363
      */
364 364
     protected function generateTBLLEFT($val = "single", $sz = "4", $space = '0',
365
-                                       $color = 'auto')
365
+                                        $color = 'auto')
366 366
     {
367 367
         $xml = '<' . CreateElement::NAMESPACEWORD . ':left ' .
368 368
             CreateElement::NAMESPACEWORD . ':val="' . $val . '" ' .
@@ -448,7 +448,7 @@  discard block
 block discarded – undo
448 448
      * @access protected
449 449
      */
450 450
     protected function generateTBLTOP($val = 'single', $sz = '4', $space = '0',
451
-                                      $color = 'auto')
451
+                                        $color = 'auto')
452 452
     {
453 453
         $xml = '<' . CreateElement::NAMESPACEWORD . ':top ' .
454 454
             CreateElement::NAMESPACEWORD . ':val="' . $val . '" ' .
Please login to merge, or discard this patch.
main/inc/lib/phpdocx/classes/CreateExcelSheet.inc 1 patch
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -170,11 +170,11 @@  discard block
 block discarded – undo
170 170
     protected function generateWORKSHEET()
171 171
     {
172 172
         $this->_xml = '<?xml version="1.0" encoding="UTF-8" ' . 
173
-                      'standalone="yes" ?><worksheet ' .
174
-                      'xmlns="http://schemas.openxmlformats.org/' .
175
-                      'spreadsheetml/2006/main" ' . 'xmlns:r="http://schemas.' .
176
-                      'openxmlformats.org/officeDocument/2006/relationships"' .
177
-                      '>__GENERATEWORKSHEET__</worksheet>';
173
+                        'standalone="yes" ?><worksheet ' .
174
+                        'xmlns="http://schemas.openxmlformats.org/' .
175
+                        'spreadsheetml/2006/main" ' . 'xmlns:r="http://schemas.' .
176
+                        'openxmlformats.org/officeDocument/2006/relationships"' .
177
+                        '>__GENERATEWORKSHEET__</worksheet>';
178 178
     }
179 179
 
180 180
     /**
@@ -216,7 +216,7 @@  discard block
 block discarded – undo
216 216
      * @access protected
217 217
      */
218 218
     protected function generateSHEETVIEW($tabSelected = '1',
219
-                                         $workbookViewId = '0')
219
+                                            $workbookViewId = '0')
220 220
     {
221 221
         $xml = '<sheetView tabSelected="' . $tabSelected .
222 222
                 '" workbookViewId="' . $workbookViewId .
@@ -247,7 +247,7 @@  discard block
 block discarded – undo
247 247
      * @access protected
248 248
      */
249 249
     protected function generateSHEETFORMATPR($baseColWidth = '10',
250
-                                             $defaultRowHeight = '15')
250
+                                                $defaultRowHeight = '15')
251 251
     {
252 252
         $xml = '<sheetFormatPr baseColWidth="' . $baseColWidth .
253 253
                 '" defaultRowHeight="' . $defaultRowHeight .
@@ -277,7 +277,7 @@  discard block
 block discarded – undo
277 277
      * @access protected
278 278
      */
279 279
     protected function generateCOL($min = '1', $max = '1',
280
-                                   $width = '11.85546875', $customWidth = '1')
280
+                                    $width = '11.85546875', $customWidth = '1')
281 281
     {
282 282
         $xml = '<col min="' . $min . '" max="' . $max . '" width="' . $width . 
283 283
                 '" customWidth="' . $customWidth . '"></col>';
@@ -359,8 +359,8 @@  discard block
 block discarded – undo
359 359
      * @access protected
360 360
      */
361 361
     protected function generatePAGEMARGINS($left = '0.7', $rigth = '0.7',
362
-                                           $bottom = '0.75', $top = '0.75',
363
-                                           $header = '0.3', $footer = '0.3')
362
+                                            $bottom = '0.75', $top = '0.75',
363
+                                            $header = '0.3', $footer = '0.3')
364 364
     {
365 365
         $xml = '<pageMargins left="' . $left . '" right="' . $rigth . 
366 366
                 '" top="' . $top . '" bottom="' . $bottom .
@@ -379,7 +379,7 @@  discard block
 block discarded – undo
379 379
      * @access protected
380 380
      */
381 381
     protected function generatePAGESETUP($paperSize = '9',
382
-                                         $orientation = 'portrait', $id = '1')
382
+                                            $orientation = 'portrait', $id = '1')
383 383
     {
384 384
         $xml = '<pageSetup paperSize="' . $paperSize .
385 385
                 '" orientation="' . $orientation . '" r:id="rId' . $id .
Please login to merge, or discard this patch.
main/inc/lib/phpdocx/classes/CreateDocx.inc 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2438,7 +2438,7 @@
 block discarded – undo
2438 2438
             'relationships/' . $arrArgs[1];
2439 2439
 
2440 2440
         return '<Relationship Id="' . $arrArgs[0] . '" Type="' . $strType .
2441
-               '" Target="' . $arrArgs[2] . '"></Relationship>';
2441
+                '" Target="' . $arrArgs[2] . '"></Relationship>';
2442 2442
     }
2443 2443
 
2444 2444
     /**
Please login to merge, or discard this patch.
main/inc/lib/phpdocx/classes/CreateStyle.inc 1 patch
Indentation   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -1542,7 +1542,7 @@  discard block
 block discarded – undo
1542 1542
      * @param string $customStyle
1543 1543
      */
1544 1544
     protected function generateSTYLE($type, $styleId, $default = '',
1545
-                                     $customStyle = '')
1545
+                                        $customStyle = '')
1546 1546
     {
1547 1547
         $this->_xml .= '<' . CreateElement::NAMESPACEWORD .
1548 1548
             ':style ' . CreateElement::NAMESPACEWORD .
@@ -1835,7 +1835,7 @@  discard block
 block discarded – undo
1835 1835
      * @param string $themeColor
1836 1836
      */
1837 1837
     protected function generatePBDR_BOTTOM($val, $sz, $space, $color,
1838
-                                           $themeColor)
1838
+                                            $themeColor)
1839 1839
     {
1840 1840
         $xml = '<' . CreateElement::NAMESPACEWORD .
1841 1841
             ':pBdr ' . CreateElement::NAMESPACEWORD .
@@ -1979,7 +1979,7 @@  discard block
 block discarded – undo
1979 1979
      * @param string $themeFillTint
1980 1980
      */
1981 1981
     protected function generateSHD($val, $color='', $fill='', $themeFill='',
1982
-                                   $themeFillTint='')
1982
+                                    $themeFillTint='')
1983 1983
     {
1984 1984
         $xmlAux = '<' . CreateElement::NAMESPACEWORD .
1985 1985
             ':shd ' . CreateElement::NAMESPACEWORD .
@@ -2086,8 +2086,8 @@  discard block
 block discarded – undo
2086 2086
      * @param string $themeTint
2087 2087
      */
2088 2088
     protected function generateTBLBORDERS_TOP($val, $sz = '', $space = '',
2089
-                                              $color = '', $themeColor = '',
2090
-                                              $themeTint ='')
2089
+                                                $color = '', $themeColor = '',
2090
+                                                $themeTint ='')
2091 2091
     {
2092 2092
         $xmlAux = '<' . CreateElement::NAMESPACEWORD .
2093 2093
             ':top ' . CreateElement::NAMESPACEWORD .
@@ -2132,8 +2132,8 @@  discard block
 block discarded – undo
2132 2132
      * @param string $themeTint
2133 2133
      */
2134 2134
     protected function generateTBLBORDERS_LEFT($val, $sz = '', $space = '',
2135
-                                               $color = '', $themeColor = '',
2136
-                                               $themeTint = '')
2135
+                                                $color = '', $themeColor = '',
2136
+                                                $themeTint = '')
2137 2137
     {
2138 2138
         $xmlAux = '<' . CreateElement::NAMESPACEWORD . ':left ' .
2139 2139
             CreateElement::NAMESPACEWORD .
@@ -2178,8 +2178,8 @@  discard block
 block discarded – undo
2178 2178
      * @param string $themeTint
2179 2179
      */
2180 2180
     protected function generateTBLBORDERS_BOTTOM($val, $sz = '', $space = '',
2181
-                                                 $color = '', $themeColor = '',
2182
-                                                 $themeTint = '')
2181
+                                                    $color = '', $themeColor = '',
2182
+                                                    $themeTint = '')
2183 2183
     {
2184 2184
         $xmlAux = '<' . CreateElement::NAMESPACEWORD .
2185 2185
             ':bottom ' . CreateElement::NAMESPACEWORD .
@@ -2270,8 +2270,8 @@  discard block
 block discarded – undo
2270 2270
      * @param string $themeTint
2271 2271
      */
2272 2272
     protected function generateTBLBORDERS_INSIDEH($val, $sz='', $space='',
2273
-                                                  $color='', $themeColor='',
2274
-                                                  $themeTint='')
2273
+                                                    $color='', $themeColor='',
2274
+                                                    $themeTint='')
2275 2275
     {
2276 2276
         $xmlAux = '<' . CreateElement::NAMESPACEWORD .
2277 2277
             ':insideH ' . CreateElement::NAMESPACEWORD . ':val="' . $val . '"';
@@ -2315,8 +2315,8 @@  discard block
 block discarded – undo
2315 2315
      * @param string $themeTint
2316 2316
      */
2317 2317
     protected function generateTBLBORDERS_INSIDEV($val, $sz='', $space='',
2318
-                                                  $color='', $themeColor='',
2319
-                                                  $themeTint='')
2318
+                                                    $color='', $themeColor='',
2319
+                                                    $themeTint='')
2320 2320
     {
2321 2321
         $xmlAux = '<' . CreateElement::NAMESPACEWORD .
2322 2322
             ':insideV ' . CreateElement::NAMESPACEWORD . ':val="' . $val . '"';
@@ -2451,7 +2451,7 @@  discard block
 block discarded – undo
2451 2451
      * @param string $cstheme
2452 2452
      */
2453 2453
     protected function generateRFONTS($asciiTheme, $eastAsiaTheme, $hAnsiTheme,
2454
-                                      $cstheme)
2454
+                                        $cstheme)
2455 2455
     {
2456 2456
         $xml = '<' . CreateElement::NAMESPACEWORD .
2457 2457
             ':rFonts ' . CreateElement::NAMESPACEWORD .
Please login to merge, or discard this patch.
main/inc/lib/phpdocx/lib/log4php/LoggerFilter.php 1 patch
Indentation   +60 added lines, -60 removed lines patch added patch discarded remove patch
@@ -55,72 +55,72 @@
 block discarded – undo
55 55
  */
56 56
 abstract class LoggerFilter {
57 57
 
58
-	/**
59
-	 * The log event must be logged immediately without consulting with
60
-	 * the remaining filters, if any, in the chain.	 
61
-	 */
62
-	const ACCEPT = 1;
58
+    /**
59
+     * The log event must be logged immediately without consulting with
60
+     * the remaining filters, if any, in the chain.	 
61
+     */
62
+    const ACCEPT = 1;
63 63
 	
64
-	/**
65
-	 * This filter is neutral with respect to the log event. The
66
-	 * remaining filters, if any, should be consulted for a final decision.
67
-	 */
68
-	const NEUTRAL = 0;
64
+    /**
65
+     * This filter is neutral with respect to the log event. The
66
+     * remaining filters, if any, should be consulted for a final decision.
67
+     */
68
+    const NEUTRAL = 0;
69 69
 	
70
-	/**
71
-	 * The log event must be dropped immediately without consulting
72
-	 * with the remaining filters, if any, in the chain.  
73
-	 */
74
-	const DENY = -1;
70
+    /**
71
+     * The log event must be dropped immediately without consulting
72
+     * with the remaining filters, if any, in the chain.  
73
+     */
74
+    const DENY = -1;
75 75
 
76
-	/**
77
-	 * @var LoggerFilter Points to the next {@link LoggerFilter} in the filter chain.
78
-	 */
79
-	protected $next;
76
+    /**
77
+     * @var LoggerFilter Points to the next {@link LoggerFilter} in the filter chain.
78
+     */
79
+    protected $next;
80 80
 
81
-	/**
82
-	 * Usually filters options become active when set. We provide a
83
-	 * default do-nothing implementation for convenience.
84
-	*/
85
-	public function activateOptions() {
86
-	}
81
+    /**
82
+     * Usually filters options become active when set. We provide a
83
+     * default do-nothing implementation for convenience.
84
+     */
85
+    public function activateOptions() {
86
+    }
87 87
 
88
-	/**	  
89
-	 * Decide what to do.  
90
-	 * <p>If the decision is {@link LoggerFilter::DENY}, then the event will be
91
-	 * dropped. If the decision is {@link LoggerFilter::NEUTRAL}, then the next
92
-	 * filter, if any, will be invoked. If the decision is {@link LoggerFilter::ACCEPT} then
93
-	 * the event will be logged without consulting with other filters in
94
-	 * the chain.
95
-	 *
96
-	 * @param LoggerLoggingEvent $event The {@link LoggerLoggingEvent} to decide upon.
97
-	 * @return integer {@link LoggerFilter::NEUTRAL} or {@link LoggerFilter::DENY}|{@link LoggerFilter::ACCEPT}
98
-	 */
99
-	public function decide(LoggerLoggingEvent $event) {
100
-		return self::NEUTRAL;
101
-	}
88
+    /**	  
89
+     * Decide what to do.  
90
+     * <p>If the decision is {@link LoggerFilter::DENY}, then the event will be
91
+     * dropped. If the decision is {@link LoggerFilter::NEUTRAL}, then the next
92
+     * filter, if any, will be invoked. If the decision is {@link LoggerFilter::ACCEPT} then
93
+     * the event will be logged without consulting with other filters in
94
+     * the chain.
95
+     *
96
+     * @param LoggerLoggingEvent $event The {@link LoggerLoggingEvent} to decide upon.
97
+     * @return integer {@link LoggerFilter::NEUTRAL} or {@link LoggerFilter::DENY}|{@link LoggerFilter::ACCEPT}
98
+     */
99
+    public function decide(LoggerLoggingEvent $event) {
100
+        return self::NEUTRAL;
101
+    }
102 102
 
103
-	/**
104
-	 * Adds a new filter to the filter chain this filter is a part of.
105
-	 * If this filter has already and follow up filter, the param filter
106
-	 * is passed on until it is the last filter in chain.
107
-	 * 
108
-	 * @param $filter - the filter to add to this chain
109
-	 */
110
-	public function addNext($filter) {
111
-		if($this->next !== null) {
112
-		    $this->next->addNext($filter);
113
-		} else {
114
-		    $this->next = $filter;
115
-		}
116
-	}
103
+    /**
104
+     * Adds a new filter to the filter chain this filter is a part of.
105
+     * If this filter has already and follow up filter, the param filter
106
+     * is passed on until it is the last filter in chain.
107
+     * 
108
+     * @param $filter - the filter to add to this chain
109
+     */
110
+    public function addNext($filter) {
111
+        if($this->next !== null) {
112
+            $this->next->addNext($filter);
113
+        } else {
114
+            $this->next = $filter;
115
+        }
116
+    }
117 117
 	
118
-	/**
119
-	 * Returns the next filter in this chain
120
-	 * @return the next filter
121
-	 */
122
-	public function getNext() {
123
-		return $this->next;
124
-	}
118
+    /**
119
+     * Returns the next filter in this chain
120
+     * @return the next filter
121
+     */
122
+    public function getNext() {
123
+        return $this->next;
124
+    }
125 125
 
126 126
 }
Please login to merge, or discard this patch.