Completed
Push — master ( c99c96...597e28 )
by samayo
01:45
created
src/bulletproof.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -118,14 +118,14 @@  discard block
 block discarded – undo
118 118
      * 
119 119
      * @param mixed $offset
120 120
      */
121
-    public function offsetExists($offset){}
121
+    public function offsetExists($offset) {}
122 122
 
123 123
     /**
124 124
      * \ArrayAccess unused method
125 125
      * 
126 126
      * @param mixed $offset
127 127
      */
128
-    public function offsetUnset($offset){}
128
+    public function offsetUnset($offset) {}
129 129
 
130 130
     /**
131 131
      * \ArrayAccess - get array value from object
@@ -162,7 +162,7 @@  discard block
 block discarded – undo
162 162
      */
163 163
     public function setDimension($maxWidth, $maxHeight)
164 164
     {
165
-      if ( (int) $maxWidth && (int) $maxHeight) {
165
+      if ((int) $maxWidth && (int) $maxHeight) {
166 166
         $this->dimensions = array($maxWidth, $maxHeight);
167 167
       } else {
168 168
         $this->error = 'Invalid dimension! Values must be integers';
@@ -384,10 +384,10 @@  discard block
 block discarded – undo
384 384
         return false;
385 385
       }
386 386
 
387
-      $create = !is_dir($dir) ? @mkdir('' . $dir, (int) $permission, true) : true;
387
+      $create = !is_dir($dir) ? @mkdir(''.$dir, (int) $permission, true) : true;
388 388
 
389 389
       if (!$create) {
390
-        $this->error = 'Error! directory \'' . $dir . '\' could not be created';
390
+        $this->error = 'Error! directory \''.$dir.'\' could not be created';
391 391
         return false;
392 392
       }
393 393
 
Please login to merge, or discard this patch.