Completed
Push — master ( c36ca8...6ca206 )
by Eric
02:41
created
src/Traits/View/Helpers.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -113,13 +113,13 @@  discard block
 block discarded – undo
113 113
      */
114 114
     public function m62FileSize($string, $html = true)
115 115
     {
116
-        if( $string == '' )
116
+        if ($string == '')
117 117
         {
118 118
             return $this->m62Lang('na');
119 119
         }
120 120
         $formatted_size = $this->file->filesizeFormat($string);
121 121
         $return = '';
122
-        if( $html )
122
+        if ($html)
123 123
         {
124 124
             $return = '<span class="backup_pro_filesize" title="' . number_format($string) . ' bytes">' . $formatted_size . '</span>';
125 125
         }
@@ -261,15 +261,15 @@  discard block
 block discarded – undo
261 261
      */
262 262
     public function m62Options($type, $translate = true)
263 263
     {
264
-        if( !isset($this->options[$type]) )
264
+        if (!isset($this->options[$type]))
265 265
         {
266 266
             return array(); //@todo add exception
267 267
         }
268 268
         
269 269
         $options = $this->options[$type];
270
-        if( $translate )
270
+        if ($translate)
271 271
         {
272
-            foreach($options As $key => $value)
272
+            foreach ($options As $key => $value)
273 273
             {
274 274
                 $options[$key] = $this->m62Lang($value);
275 275
             }
Please login to merge, or discard this patch.