Completed
Pull Request — master (#40)
by satoru
05:35
created
src/Model/Entity/ContentsFileTrait.php 1 patch
Braces   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -302,29 +302,29 @@
 block discarded – undo
302 302
                       // 未定義
303 303
                       if($orientation == 0){
304 304
                       // 通常
305
-                      }else if($orientation == 1){
305
+                      } else if($orientation == 1){
306 306
                       // 左右反転
307
-                      }else if($orientation == 2){
307
+                      } else if($orientation == 2){
308 308
                             $image = $this->imageFlop($image);
309 309
                       // 180°回転
310
-                      }else if($orientation == 3){
310
+                      } else if($orientation == 3){
311 311
                             $image = $this->imageRotate($image,180, 0);
312 312
                       // 上下反転
313
-                      }else if($orientation == 4){
313
+                      } else if($orientation == 4){
314 314
                             $image = $this->imageFlip($image);
315 315
                       // 反時計回りに90°回転 上下反転
316
-                      }else if($orientation == 5){
316
+                      } else if($orientation == 5){
317 317
                             $image = $this->imageRotate($image,90, 0);
318 318
                             $image = $this->imageFlip($image);
319 319
                       // 時計回りに90°回転
320
-                      }else if($orientation == 6){
320
+                      } else if($orientation == 6){
321 321
                             $image = $this->imageRotate($image,-90, 0);
322 322
                       // 時計回りに90°回転 上下反転
323
-                      }else if($orientation == 7){
323
+                      } else if($orientation == 7){
324 324
                             $image = $this->imageRotate($image,-90, 0);
325 325
                             $image = $this->imageFlip($image);
326 326
                       // 反時計回りに90°回転
327
-                      }else if($orientation == 8){
327
+                      } else if($orientation == 8){
328 328
                             $image = $this->imageRotate($image,90, 0);
329 329
                       }
330 330
               }
Please login to merge, or discard this patch.