File tree Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -51,11 +51,9 @@ public function getCharset(): void
51
51
/**
52
52
* Parses the CSS provided to the constructor and creates a `Document` from it.
53
53
*
54
- * @return Document
55
- *
56
54
* @throws SourceException
57
55
*/
58
- public function parse ()
56
+ public function parse (): Document
59
57
{
60
58
return Document::parse ($ this ->oParserState );
61
59
}
Original file line number Diff line number Diff line change @@ -308,12 +308,10 @@ public function consume($mValue = 1): string
308
308
* @param string $mExpression
309
309
* @param int|null $iMaxLength
310
310
*
311
- * @return string
312
- *
313
311
* @throws UnexpectedEOFException
314
312
* @throws UnexpectedTokenException
315
313
*/
316
- public function consumeExpression ($ mExpression , $ iMaxLength = null )
314
+ public function consumeExpression ($ mExpression , $ iMaxLength = null ): string
317
315
{
318
316
$ aMatches = null ;
319
317
$ sInput = $ iMaxLength !== null ? $ this ->peek ($ iMaxLength ) : $ this ->inputLeft ();
You can’t perform that action at this time.
0 commit comments