Passed
Push — Showing-Posts ( 1e63c5...22ac26 )
by Stone
02:02
created
Core/Traits/StringFunctions.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
 
85 85
         //Searching for the page break tag
86 86
         $breakTagPosition = strpos($text, "<!-- EndOfExcerptBlogOc -->");
87
-        if($breakTagPosition > 0){
87
+        if ($breakTagPosition > 0) {
88 88
             return $this->completeDom(substr($text, 0, $breakTagPosition));
89 89
         }
90 90
 
@@ -98,7 +98,7 @@  discard block
 block discarded – undo
98 98
             $trimed .= $string[$wordCounter];
99 99
             if ($wordCounter < $count - 1) {
100 100
                 $trimed .= " ";
101
-            } else {
101
+            }else {
102 102
                 $trimed .= "[...]";
103 103
             }
104 104
         }
Please login to merge, or discard this patch.