Completed
Push — master ( 8cee11...816042 )
by Vladimir
02:17
created
src/allejo/stakx/Utilities/HtmlUtils.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -9,6 +9,9 @@  discard block
 block discarded – undo
9 9
 
10 10
 abstract class HtmlUtils
11 11
 {
12
+    /**
13
+     * @param string $xpathQuery
14
+     */
12 15
     public static function htmlXPath(\DOMDocument &$DOMDocument, $html, $xpathQuery)
13 16
     {
14 17
         $html = self::normalizeHTML($html);
@@ -38,6 +41,9 @@  discard block
 block discarded – undo
38 41
         return $xpath->query($xpathQuery);
39 42
     }
40 43
 
44
+    /**
45
+     * @return string
46
+     */
41 47
     private static function normalizeHTML($html)
42 48
     {
43 49
         if (strpos($html, '<body>') === false || strpos($html, '</body>') === false)
Please login to merge, or discard this patch.
src/allejo/stakx/Server/MimeDetector.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -783,6 +783,9 @@
 block discarded – undo
783 783
         'zmm' => 'application/vnd.handheld-entertainment+xml',
784 784
     ];
785 785
 
786
+    /**
787
+     * @return \allejo\stakx\Document\StaticPageView
788
+     */
786 789
     public static function getMimeType($extension)
787 790
     {
788 791
         return isset(self::$mimes[$extension]) ? self::$mimes[$extension] : null;
Please login to merge, or discard this patch.