Completed
Push — refactoring ( ab1ebc...87ce77 )
by Oleg
04:30
created
src/Entity/Builder.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -192,6 +192,9 @@
 block discarded – undo
192 192
         return $this->activeAttributes;
193 193
     }
194 194
 
195
+    /**
196
+     * @param string $html
197
+     */
195 198
     protected function minifyHtmlOutput($html)
196 199
     {
197 200
         $search = array(
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -152,7 +152,7 @@  discard block
 block discarded – undo
152 152
      */
153 153
     public function setType($type)
154 154
     {
155
-        $this->type = (string)$type;
155
+        $this->type = (string) $type;
156 156
     }
157 157
 
158 158
     /**
@@ -195,8 +195,8 @@  discard block
 block discarded – undo
195 195
     protected function minifyHtmlOutput($html)
196 196
     {
197 197
         $search = array(
198
-            '/\>[^\S]+/s',  // strip whitespaces after tags, except space
199
-            '/[^\S]+\</s',  // strip whitespaces before tags, except space
198
+            '/\>[^\S]+/s', // strip whitespaces after tags, except space
199
+            '/[^\S]+\</s', // strip whitespaces before tags, except space
200 200
             '/(\s)+/s'       // shorten multiple whitespace sequences
201 201
         );
202 202
 
Please login to merge, or discard this patch.