Completed
Push — master ( 7172b4...370e98 )
by Thomas
02:34
created
src/FluentDOM/Loader/Html.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -75,6 +75,9 @@  discard block
 block discarded – undo
75 75
       return NULL;
76 76
     }
77 77
 
78
+    /**
79
+     * @param string $source
80
+     */
78 81
     private function ensureEncodingPI($source, $encoding, $force = FALSE) {
79 82
       $pi = '<?xml version="1.0" encoding="'.htmlspecialchars($encoding).'"?>';
80 83
       if (!preg_match('(<\\?xml\\s)', $source)) {
@@ -111,6 +114,10 @@  discard block
 block discarded – undo
111 114
       return NULL;
112 115
     }
113 116
 
117
+    /**
118
+     * @param string $contentType
119
+     * @param Options $options
120
+     */
114 121
     private function isFragment($contentType, $options) {
115 122
       return (
116 123
         $contentType == 'html-fragment' ||
Please login to merge, or discard this patch.