Passed
Push — master ( cad00a...5b38b0 )
by Sys
01:58
created
src/Common/SchemaExtractor.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
         $sibling = $node;
57 57
         while (!str_starts_with($tag, 'h')) {
58 58
             $sibling = $sibling->nextSibling();
59
-            $tag = $sibling?->tag?->name();
59
+            $tag = $sibling ? ->tag ? ->name();
60 60
             if (empty($node->text()) or empty($tag) or $tag == 'text') {
61 61
                 continue;
62 62
             } elseif ($tag == 'p') {
@@ -253,7 +253,7 @@  discard block
 block discarded – undo
253 253
         $phrases = explode('.', $description);
254 254
         $phrases = array_filter(
255 255
             $phrases,
256
-            function ($phrase) {
256
+            function($phrase) {
257 257
                 return (false !== stripos($phrase, 'returns') or false !== stripos($phrase, 'is returned'));
258 258
             }
259 259
         );
Please login to merge, or discard this patch.