Lines Matching refs:comment
114 * @param string $comment String containing the comment text.
118 private function stripDocComment($comment) argument
120 … $comment = trim(preg_replace('#[ \t]*(?:\/\*\*|\*\/|\*)?[ \t]{0,1}(.*)?#u', '$1', $comment));
123 if (substr($comment, -2) === '*/') {
124 $comment = trim(substr($comment, 0, -2));
127 return str_replace(["\r\n", "\r"], "\n", $comment);
133 * @param string $comment Comment to split into the sub-parts.
140 private function splitDocBlock($comment) argument
145 if (strpos($comment, '@') === 0) {
146 return ['', '', '', $comment];
150 $comment = preg_replace('/\h*$/Sum', '', $comment);
202 $comment,