@@ -479,6 +479,9 @@ |
||
479 | 479 | return $set; |
480 | 480 | } |
481 | 481 | |
482 | + /** |
|
483 | + * @param callable $fn |
|
484 | + */ |
|
482 | 485 | protected function callfn($fn, $args) |
483 | 486 | { |
484 | 487 | if ($fn instanceof \Closure) { |
@@ -4,6 +4,9 @@ discard block |
||
4 | 4 | |
5 | 5 | class FluidHelper |
6 | 6 | { |
7 | + /** |
|
8 | + * @param string $string |
|
9 | + */ |
|
7 | 10 | public static function isAnXmlString($string) |
8 | 11 | { |
9 | 12 | // Removes any empty new line at the beginning, |
@@ -69,6 +72,9 @@ discard block |
||
69 | 72 | return static::exportNode($dom->ownerDocument, $dom, $html); |
70 | 73 | } |
71 | 74 | |
75 | + /** |
|
76 | + * @param \DOMDocument $dom |
|
77 | + */ |
|
72 | 78 | public static function domdocumentToHtml($dom, $clone = true) |
73 | 79 | { |
74 | 80 | if ($clone) { |
@@ -8,6 +8,9 @@ |
||
8 | 8 | private $dom; |
9 | 9 | private $namespaces; |
10 | 10 | |
11 | + /** |
|
12 | + * @param FluidDocument $document |
|
13 | + */ |
|
11 | 14 | public function __construct($document) |
12 | 15 | { |
13 | 16 | $this->document = $document; |