@@ -36,7 +36,7 @@ discard block |
||
36 | 36 | * @since 3.8.4 When non-true value is passed, `0px` will be returned. |
37 | 37 | * @return string |
38 | 38 | */ |
39 | - static public function getLengthSanitized( $sLength, $sUnit='px' ) { |
|
39 | + static public function getLengthSanitized( $sLength, $sUnit='px' ) { |
|
40 | 40 | $sLength = $sLength ? $sLength : 0; |
41 | 41 | return is_numeric( $sLength ) |
42 | 42 | ? $sLength . $sUnit |
@@ -90,13 +90,13 @@ discard block |
||
90 | 90 | */ |
91 | 91 | static public function fixNumber( $nToFix, $nDefault, $nMin='', $nMax='' ) { |
92 | 92 | |
93 | - if ( ! is_numeric( trim( $nToFix ) ) ) { |
|
93 | + if ( ! is_numeric( trim( $nToFix ) ) ) { |
|
94 | 94 | return $nDefault; |
95 | 95 | } |
96 | - if ( $nMin !== '' && $nToFix < $nMin ) { |
|
96 | + if ( $nMin !== '' && $nToFix < $nMin ) { |
|
97 | 97 | return $nMin; |
98 | 98 | } |
99 | - if ( $nMax !== '' && $nToFix > $nMax ) { |
|
99 | + if ( $nMax !== '' && $nToFix > $nMax ) { |
|
100 | 100 | return $nMax; |
101 | 101 | } |
102 | 102 | return $nToFix; |
@@ -46,7 +46,7 @@ discard block |
||
46 | 46 | * but it requires to call the setUp() method in the overridden method so it's not that useful. |
47 | 47 | * @internal |
48 | 48 | */ |
49 | - protected function _setUp() { |
|
49 | + protected function _setUp() { |
|
50 | 50 | $this->setUp(); |
51 | 51 | } |
52 | 52 | |
@@ -105,7 +105,7 @@ discard block |
||
105 | 105 | * @since 3.7.0 |
106 | 106 | * @return array The modified sectionsets definition array. |
107 | 107 | */ |
108 | - public function _replyToModifySectionsets( $aSectionsets ) { |
|
108 | + public function _replyToModifySectionsets( $aSectionsets ) { |
|
109 | 109 | |
110 | 110 | return $this->oUtil->addAndApplyFilter( |
111 | 111 | $this, // caller factory object |
@@ -366,7 +366,7 @@ discard block |
||
366 | 366 | * An alias of `_setLastInputs()`. |
367 | 367 | * @deprecated 3.7.0 |
368 | 368 | */ |
369 | - public function _setLastInput( $aLastInputs ) { |
|
369 | + public function _setLastInput( $aLastInputs ) { |
|
370 | 370 | return $this->setLastInputs( $aLastInputs ); |
371 | 371 | } |
372 | 372 |