Completed
Push — master ( 7af0ce...c18f14 )
by mw
258:58 queued 224:10
created
src/Parser/Obfuscator.php 1 patch
Doc Comments   +9 added lines, -5 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
 	 *
44 44
 	 * @param string $text
45 45
 	 *
46
-	 * @return text
46
+	 * @return string
47 47
 	 */
48 48
 	public static function removeLinkObfuscation( $text ) {
49 49
 		return str_replace(
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
 	 *
59 59
 	 * @param string $text
60 60
 	 *
61
-	 * @return text
61
+	 * @return string
62 62
 	 */
63 63
 	public static function encodeLinks( $text ) {
64 64
 		return str_replace(
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
 	 *
74 74
 	 * @param string $text
75 75
 	 *
76
-	 * @return text
76
+	 * @return string
77 77
 	 */
78 78
 	public static function decodeSquareBracket( $text ) {
79 79
 		return str_replace( array( '%5B', '%5D' ), array( '[', ']' ), $text );
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
 	 *
85 85
 	 * @param string $text
86 86
 	 *
87
-	 * @return text
87
+	 * @return string
88 88
 	 */
89 89
 	public static function obfuscateAnnotation( $text ) {
90 90
 		return preg_replace_callback(
@@ -101,7 +101,7 @@  discard block
 block discarded – undo
101 101
 	 *
102 102
 	 * @param string $text
103 103
 	 *
104
-	 * @return text
104
+	 * @return string
105 105
 	 */
106 106
 	public static function removeAnnotation( $text ) {
107 107
 
@@ -153,6 +153,10 @@  discard block
 block discarded – undo
153 153
 		return $caption !== false ? $caption : $value;
154 154
 	}
155 155
 
156
+	/**
157
+	 * @param string $text
158
+	 * @param InTextAnnotationParser $parser
159
+	 */
156 160
 	private static function doObfuscate( $text, $parser ) {
157 161
 
158 162
 		/**
Please login to merge, or discard this patch.