Completed
Push — master ( cbd554...f174bb )
by Mikael
13:10
created
3pp/php-markdown/Michelf/Markdown.php 1 patch
Doc Comments   +26 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.
@@ -866,6 +869,10 @@  discard block
 block discarded – undo
866 869
 
867 870
 	protected $list_level = 0;
868 871
 
872
+	/**
873
+	 * @param string $list_str
874
+	 * @param string $marker_any_re
875
+	 */
869 876
 	protected function processListItems($list_str, $marker_any_re) {
870 877
 	#
871 878
 	#	Process the contents of a single ordered or unordered list, splitting it
@@ -969,6 +976,9 @@  discard block
 block discarded – undo
969 976
 	}
970 977
 
971 978
 
979
+	/**
980
+	 * @param string $code
981
+	 */
972 982
 	protected function makeCodeSpan($code) {
973 983
 	#
974 984
 	# Create a code span markup for $code. Called from handleSpanToken.
@@ -1461,6 +1471,9 @@  discard block
 block discarded – undo
1461 1471
 	# hanlde UTF-8 if the default function does not exist.
1462 1472
 	protected $utf8_strlen = 'mb_strlen';
1463 1473
 	
1474
+	/**
1475
+	 * @param string $text
1476
+	 */
1464 1477
 	protected function detab($text) {
1465 1478
 	#
1466 1479
 	# Replace tabs with the appropriate amount of space.
@@ -2018,6 +2031,12 @@  discard block
 block discarded – undo
2018 2031
 		
2019 2032
 		return array($parsed, $text);
2020 2033
 	}
2034
+
2035
+	/**
2036
+	 * @param string $text
2037
+	 * @param string $hash_method
2038
+	 * @param boolean $md_attr
2039
+	 */
2021 2040
 	protected function _hashHTMLBlocks_inHTML($text, $hash_method, $md_attr) {
2022 2041
 	#
2023 2042
 	# Parse HTML, calling _HashHTMLBlocks_InMarkdown for block tags.
@@ -2568,6 +2587,10 @@  discard block
 block discarded – undo
2568 2587
 		
2569 2588
 		return $this->_doTable_callback(array($matches[0], $head, $underline, $content));
2570 2589
 	}
2590
+
2591
+	/**
2592
+	 * @param string $alignname
2593
+	 */
2571 2594
 	protected function _doTable_makeAlignAttr($alignname)
2572 2595
 	{
2573 2596
 		if (empty($this->table_align_class_tmpl))
@@ -2694,6 +2717,9 @@  discard block
 block discarded – undo
2694 2717
 	}
2695 2718
 
2696 2719
 
2720
+	/**
2721
+	 * @return string
2722
+	 */
2697 2723
 	protected function processDefListItems($list_str) {
2698 2724
 	#
2699 2725
 	#	Process the contents of a single definition list, splitting it
Please login to merge, or discard this patch.
3pp/php-markdown/Michelf/MarkdownInterface.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -29,6 +29,10 @@
 block discarded – undo
29 29
   # Main function. Performs some preprocessing on the input text
30 30
   # and pass it through the document gamut.
31 31
   #
32
+
33
+  /**
34
+   * @return string
35
+   */
32 36
   public function transform($text);
33 37
 
34 38
 }
Please login to merge, or discard this patch.
src/Content/CTextFilter.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -276,7 +276,7 @@  discard block
 block discarded – undo
276 276
      *
277 277
      * Usage example: [BASEURL]
278 278
      *
279
-     * @return array with all the options.
279
+     * @return string with all the options.
280 280
      */
281 281
     protected function shortCodeBaseurl()
282 282
     {
@@ -290,7 +290,7 @@  discard block
 block discarded – undo
290 290
      *
291 291
      * Usage example: [RELURL]
292 292
      *
293
-     * @return array with all the options.
293
+     * @return string with all the options.
294 294
      */
295 295
     protected function shortCodeRelurl()
296 296
     {
@@ -303,7 +303,7 @@  discard block
 block discarded – undo
303 303
     *
304 304
     * Usage example: [RELURL]
305 305
     *
306
-    * @return array with all the options.
306
+    * @return string with all the options.
307 307
     */
308 308
     protected function shortCodeAsset()
309 309
     {
Please login to merge, or discard this patch.
src/DI/CDIArray.php 1 patch
Doc Comments   -4 removed lines patch added patch discarded remove patch
@@ -30,7 +30,6 @@  discard block
 block discarded – undo
30 30
     /**
31 31
      * Construct.
32 32
      *
33
-     * @param array $options to configure options.
34 33
      */
35 34
     public function offsetSet($offset, $value)
36 35
     {
@@ -46,7 +45,6 @@  discard block
 block discarded – undo
46 45
     /**
47 46
      * Construct.
48 47
      *
49
-     * @param array $options to configure options.
50 48
      */
51 49
     public function offsetExists($offset)
52 50
     {
@@ -58,7 +56,6 @@  discard block
 block discarded – undo
58 56
     /**
59 57
      * Construct.
60 58
      *
61
-     * @param array $options to configure options.
62 59
      */
63 60
     public function offsetUnset($offset)
64 61
     {
@@ -70,7 +67,6 @@  discard block
 block discarded – undo
70 67
     /**
71 68
      * Construct.
72 69
      *
73
-     * @param array $options to configure options.
74 70
      */
75 71
     public function offsetGet($offset)
76 72
     {
Please login to merge, or discard this patch.
src/Loader/CPsr4Autoloader.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -116,7 +116,7 @@  discard block
 block discarded – undo
116 116
      * Loads the class file for a given class name.
117 117
      *
118 118
      * @param string $class The fully-qualified class name.
119
-     * @return mixed The mapped file name on success, or boolean false on
119
+     * @return string|false The mapped file name on success, or boolean false on
120 120
      * failure.
121 121
      */
122 122
     public function loadClass($class)
@@ -165,7 +165,7 @@  discard block
 block discarded – undo
165 165
      * @param string $prefix         The namespace prefix.
166 166
      * @param string $relative_class The relative class name.
167 167
      *
168
-     * @return mixed Boolean false if no mapped file can be loaded, or the
168
+     * @return false|string Boolean false if no mapped file can be loaded, or the
169 169
      * name of the mapped file that was loaded.
170 170
      */
171 171
     protected function loadMappedFile($prefix, $relative_class)
Please login to merge, or discard this patch.
src/Log/CLogger.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -87,7 +87,7 @@
 block discarded – undo
87 87
     /**
88 88
      * Logs with an arbitrary level.
89 89
      *
90
-     * @param mixed $level
90
+     * @param string $level
91 91
      * @param string $message
92 92
      * @param array $context
93 93
      * @return null
Please login to merge, or discard this patch.
src/MVC/CDispatcherBasic.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@
 block discarded – undo
66 66
     /**
67 67
      * Check if a controller exists with this name.
68 68
      *
69
-     * @return void
69
+     * @return boolean
70 70
      */
71 71
     public function isValidController()
72 72
     {
Please login to merge, or discard this patch.
src/Route/CRouterBasic.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
      * Add an internal (not exposed to url-matching) route to the router.
75 75
      *
76 76
      * @param string $rule   for this route
77
-     * @param mixed  $action null, string or callable to implement a controller for the route
77
+     * @param \Closure  $action null, string or callable to implement a controller for the route
78 78
      *
79 79
      * @return class as new route
80 80
      */
@@ -92,7 +92,6 @@  discard block
 block discarded – undo
92 92
      * Add an internal (not exposed to url-matching) route to the router.
93 93
      *
94 94
      * @param string $rule   for this route
95
-     * @param mixed  $action null, string or callable to implement a controller for the route
96 95
      *
97 96
      * @return class as new route
98 97
      */
Please login to merge, or discard this patch.
src/TConfigure.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
     /**
21 21
      * Read configuration from file or array'.
22 22
      *
23
-     * @param array/string $what is an array with key/value config options or a file
23
+     * @param string $what is an array with key/value config options or a file
24 24
      *      to be included which returns such an array.
25 25
      * @return $this for chaining.
26 26
      */
Please login to merge, or discard this patch.