Completed
Branch master (35033c)
by Alex
02:26
created
src/Reflection/ReflectionAnnotatedTrait.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -34,6 +34,9 @@  discard block
 block discarded – undo
34 34
 	abstract public function getDocComment();
35 35
 	protected $docComment;
36 36
 
37
+	/**
38
+	 * @param string $name
39
+	 */
37 40
 	public function getAnnotation($name)
38 41
 	{
39 42
 		preg_match_all("~@(" . implode("|", (array) $name) . ')\s?(.*)?~i', $this->getDoc(), $annotations, PREG_SET_ORDER);
@@ -57,6 +60,9 @@  discard block
 block discarded – undo
57 60
 		return (bool) preg_match("~@$name~", $this->getDoc());
58 61
 	}
59 62
 
63
+	/**
64
+	 * @return string
65
+	 */
60 66
 	protected function getDoc()
61 67
 	{
62 68
 		if ($this->docComment) {
Please login to merge, or discard this patch.