Completed
Branch dev (bc612e)
by
unknown
14:57
created
factory/_common/utility/base_utility/AdminPageFramework_Utility_String.php 1 patch
Braces   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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;
Please login to merge, or discard this patch.
development/factory/_common/_abstract/AdminPageFramework_Factory_Model.php 1 patch
Braces   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.