Completed
Push — master ( 754537...f00877 )
by Petrus
04:14
created
vendor/michelf/php-markdown/Michelf/Markdown.php 1 patch
Doc Comments   +16 added lines patch added patch discarded remove patch
@@ -25,6 +25,9 @@  discard block
 block discarded – undo
25 25
 
26 26
 	### Simple Function Interface ###
27 27
 
28
+	/**
29
+	 * @param string $text
30
+	 */
28 31
 	public static function defaultTransform($text) {
29 32
 	#
30 33
 	# Initialize the parser and return the result of its transform method.
@@ -931,6 +934,10 @@  discard block
 block discarded – undo
931 934
 
932 935
 	protected $list_level = 0;
933 936
 
937
+	/**
938
+	 * @param string $list_str
939
+	 * @param string $marker_any_re
940
+	 */
934 941
 	protected function processListItems($list_str, $marker_any_re) {
935 942
 	#
936 943
 	#	Process the contents of a single ordered or unordered list, splitting it
@@ -1034,6 +1041,9 @@  discard block
 block discarded – undo
1034 1041
 	}
1035 1042
 
1036 1043
 
1044
+	/**
1045
+	 * @param string $code
1046
+	 */
1037 1047
 	protected function makeCodeSpan($code) {
1038 1048
 	#
1039 1049
 	# Create a code span markup for $code. Called from handleSpanToken.
@@ -1311,6 +1321,9 @@  discard block
 block discarded – undo
1311 1321
 	}
1312 1322
 
1313 1323
 
1324
+	/**
1325
+	 * @return string
1326
+	 */
1314 1327
 	protected function encodeAttribute($text) {
1315 1328
 	#
1316 1329
 	# Encode text for a double-quoted HTML attribute. This function
@@ -1551,6 +1564,9 @@  discard block
 block discarded – undo
1551 1564
 	# hanlde UTF-8 if the default function does not exist.
1552 1565
 	protected $utf8_strlen = 'mb_strlen';
1553 1566
 	
1567
+	/**
1568
+	 * @param string $text
1569
+	 */
1554 1570
 	protected function detab($text) {
1555 1571
 	#
1556 1572
 	# Replace tabs with the appropriate amount of space.
Please login to merge, or discard this patch.
vendor/michelf/php-markdown/Michelf/MarkdownExtra.php 1 patch
Doc Comments   +13 added lines patch added patch discarded remove patch
@@ -516,6 +516,12 @@  discard block
 block discarded – undo
516 516
 		
517 517
 		return array($parsed, $text);
518 518
 	}
519
+
520
+	/**
521
+	 * @param string $text
522
+	 * @param string $hash_method
523
+	 * @param boolean $md_attr
524
+	 */
519 525
 	protected function _hashHTMLBlocks_inHTML($text, $hash_method, $md_attr) {
520 526
 	#
521 527
 	# Parse HTML, calling _HashHTMLBlocks_InMarkdown for block tags.
@@ -1077,6 +1083,10 @@  discard block
 block discarded – undo
1077 1083
 		
1078 1084
 		return $this->_doTable_callback(array($matches[0], $head, $underline, $content));
1079 1085
 	}
1086
+
1087
+	/**
1088
+	 * @param string $alignname
1089
+	 */
1080 1090
 	protected function _doTable_makeAlignAttr($alignname)
1081 1091
 	{
1082 1092
 		if (empty($this->table_align_class_tmpl))
@@ -1203,6 +1213,9 @@  discard block
 block discarded – undo
1203 1213
 	}
1204 1214
 
1205 1215
 
1216
+	/**
1217
+	 * @return string
1218
+	 */
1206 1219
 	protected function processDefListItems($list_str) {
1207 1220
 	#
1208 1221
 	#	Process the contents of a single definition list, splitting it
Please login to merge, or discard this patch.
vendor/mos/ctextfilter/src/TextFilter/CTextFilter.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -194,11 +194,11 @@
 block discarded – undo
194 194
      * Call each filter and return array with details of the formatted content.
195 195
      *
196 196
      * @param string $text   the text to filter.
197
-     * @param array  $filter array of filters to use.
197
+     * @param string[]  $filter array of filters to use.
198 198
      *
199 199
      * @throws mos/TextFilter/Exception  when filterd does not exists.
200 200
      *
201
-     * @return array with the formatted text and additional details.
201
+     * @return \stdClass with the formatted text and additional details.
202 202
      */
203 203
     public function parse($text, $filter)
204 204
     {
Please login to merge, or discard this patch.
vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrDef/CSS/Font.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
      * @param string $aIP
14 14
      * @param HTMLPurifier_Config $config
15 15
      * @param HTMLPurifier_Context $context
16
-     * @return bool|string
16
+     * @return false|string
17 17
      */
18 18
     public function validate($aIP, $config, $context)
19 19
     {
Please login to merge, or discard this patch.
vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrDef/CSS/Length.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
      * @param string $aIP
14 14
      * @param HTMLPurifier_Config $config
15 15
      * @param HTMLPurifier_Context $context
16
-     * @return bool|string
16
+     * @return false|string
17 17
      */
18 18
     public function validate($aIP, $config, $context)
19 19
     {
Please login to merge, or discard this patch.
vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrDef/HTML/ID.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
      * @param string $aIP
14 14
      * @param HTMLPurifier_Config $config
15 15
      * @param HTMLPurifier_Context $context
16
-     * @return bool|string
16
+     * @return false|string
17 17
      */
18 18
     public function validate($aIP, $config, $context)
19 19
     {
Please login to merge, or discard this patch.
vendor/ezyang/htmlpurifier/library/HTMLPurifier/Encoder.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -328,7 +328,7 @@
 block discarded – undo
328 328
      * Determines if a particular token requires an earlier inline token
329 329
      * to get a paragraph. This should be used with _forwardUntilEndToken
330 330
      * @param HTMLPurifier_Token $current
331
-     * @return bool
331
+     * @return boolean|null
332 332
      */
333 333
     private function _checkNeedsP($current)
334 334
     {
Please login to merge, or discard this patch.