Completed
Push — master ( 041d61...29eed0 )
by
unknown
04:36
created
src/Element.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -58,8 +58,8 @@  discard block
 block discarded – undo
58 58
 
59 59
 	/**
60 60
 	 * Lingo\Element constructor.
61
-	 * @param $term
62
-	 * @param $definition
61
+	 * @param string $term
62
+	 * @param string $definition
63 63
 	 */
64 64
 	public function __construct( &$term, &$definition = null ) {
65 65
 
@@ -152,7 +152,7 @@  discard block
 block discarded – undo
152 152
 
153 153
 	/**
154 154
 	 * @param $target
155
-	 * @param $link
155
+	 * @param DOMElement $link
156 156
 	 * @return mixed
157 157
 	 */
158 158
 	protected function &addClassAttributeToLink( $target, &$link ) {
@@ -203,7 +203,7 @@  discard block
 block discarded – undo
203 203
 
204 204
 	/**
205 205
 	 * @param StashingDOMDocument $doc
206
-	 * @return string
206
+	 * @return DOMElement
207 207
 	 * @throws \MWException
208 208
 	 */
209 209
 	protected function getFullDefinitionAsTooltip( StashingDOMDocument &$doc ) {
Please login to merge, or discard this patch.
src/LingoParser.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -28,8 +28,6 @@
 block discarded – undo
28 28
  */
29 29
 namespace Lingo;
30 30
 
31
-use DOMDocument;
32
-use DOMXPath;
33 31
 use Parser;
34 32
 
35 33
 /**
Please login to merge, or discard this patch.