File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 12
12
"ext-simplexml" : " *" ,
13
13
"league/commonmark" : " ^0.18.1" ,
14
14
"michelf/php-markdown" : " >=1.0 <2.0.0" ,
15
- "zendframework/zend -code" : " >=3.0 <4.0.0" ,
15
+ "laminas/laminas -code" : " >=3.0 <4.0.0" ,
16
16
"phpdocumentor/reflection-docblock" : " 4.3.* || 5.*" ,
17
17
"mikey179/vfsstream" : " ^1.6" ,
18
- "gherkins/regexpbuilderphp" : " ^0.8.0 "
18
+ "gherkins/regexpbuilderphp" : " 0.7.* || 0.8.* "
19
19
}
20
- }
20
+ }
Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ public function markdown(): string
105
105
106
106
$ description = $ this ->docBlock ()->getDescription ();
107
107
// Unescape possibly escaped comment blocks
108
- $ description = preg_replace ('@(\s*)\* \\\/(\s*)$@m ' , '\1*/ ' , $ description );
108
+ $ description = preg_replace ('@(\s*)\* \\\/(\s*)$@m ' , '\1*/ ' , ( string ) $ description );
109
109
110
110
$ markdown .= $ description ;
111
111
@@ -132,4 +132,4 @@ public function xpath(string $xpath, int $index = null)
132
132
133
133
return $ elements [$ index ];
134
134
}
135
- }
135
+ }
You can’t perform that action at this time.
0 commit comments