Completed
Push — master ( 9c6482...84b1b9 )
by Andrew
01:51
created
src/Modules/Formatters/OutputFormatter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -165,7 +165,7 @@
 block discarded – undo
165 165
             $headers = $topNode->find('h1, h2, h3, h4, h5, h6');
166 166
 
167 167
             foreach ($headers as $header) {
168
-                $header->replaceWith(new Text("\n\n" . $this->getTagCleanedText($header) . "\n\n"));
168
+                $header->replaceWith(new Text("\n\n".$this->getTagCleanedText($header)."\n\n"));
169 169
             }
170 170
         }
171 171
     }
Please login to merge, or discard this patch.
src/Modules/Extractors/AdditionalDataExtractor.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -87,7 +87,7 @@  discard block
 block discarded – undo
87 87
                     $srcHost = parse_url($src, PHP_URL_HOST);
88 88
                     $srcScheme = parse_url($src, PHP_URL_SCHEME);
89 89
 
90
-                    return $match || preg_match('@' . $domain . '$@i', $srcHost) && in_array($srcScheme, ['http', 'https']);
90
+                    return $match || preg_match('@'.$domain.'$@i', $srcHost) && in_array($srcScheme, ['http', 'https']);
91 91
                 });
92 92
 
93 93
                 if ($match) {
@@ -134,10 +134,10 @@  discard block
 block discarded – undo
134 134
         $stopWords = $this->config()->getStopWords()->getCurrentStopWords();
135 135
 
136 136
         $text = $this->article()->getTitle();
137
-        $text .= ' ' . $this->article()->getMetaDescription();
137
+        $text .= ' '.$this->article()->getMetaDescription();
138 138
 
139 139
         if ($this->article()->getTopNode()) {
140
-            $text .= ' ' . $this->article()->getCleanedArticleText();
140
+            $text .= ' '.$this->article()->getCleanedArticleText();
141 141
         }
142 142
 
143 143
         // Decode and split words by white-space
Please login to merge, or discard this patch.