Passed
Push — Showing-Posts ( fc2dfc...4009ed )
by Stone
02:08
created
Core/Traits/StringFunctions.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -78,8 +78,7 @@
 block discarded – undo
78 78
         $trimed = '';
79 79
         for ( $wordCounter = 0; $wordCounter < $count; $wordCounter++ ){
80 80
             $trimed .= $string[$wordCounter];
81
-            if ( $wordCounter < $count-1 ){ $trimed .= " "; }
82
-            else { $trimed .= "..."; }
81
+            if ( $wordCounter < $count-1 ){ $trimed .= " "; } else { $trimed .= "..."; }
83 82
         }
84 83
         $trimed = trim($trimed);
85 84
         return $trimed;
Please login to merge, or discard this patch.
App/Controllers/Ajax/ImageUpload.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
                 // Same-origin requests won't set an origin. If the origin is set, it must be valid.
29 29
                 if(in_array($_SERVER['HTTP_ORIGIN'], $accepted_origins)){
30 30
                     header('Access-Control-Allow-Origin: ' . $_SERVER['HTTP_ORIGIN']);
31
-                }else{
31
+                } else{
32 32
                     header("HTTP/1.1 403 Origin Denied");
33 33
                     return;
34 34
                 }
Please login to merge, or discard this patch.