@@ -46,10 +46,7 @@ private function __construct()
46
46
$ this ->bMultibyteSupport = \extension_loaded ('mbstring ' );
47
47
}
48
48
49
- /**
50
- * @return self new instance
51
- */
52
- public static function create (): Settings
49
+ public static function create (): self
53
50
{
54
51
return new Settings ();
55
52
}
@@ -60,11 +57,9 @@ public static function create(): Settings
60
57
* If `true` (`mbstring` extension must be enabled), will use (slower) `mb_strlen`, `mb_convert_case`, `mb_substr`
61
58
* and `mb_strpos` functions. Otherwise, the normal (ASCII-Only) functions will be used.
62
59
*
63
- * @param bool $bMultibyteSupport
64
- *
65
60
* @return $this fluent interface
66
61
*/
67
- public function withMultibyteSupport ($ bMultibyteSupport = true ): self
62
+ public function withMultibyteSupport (bool $ bMultibyteSupport = true ): self
68
63
{
69
64
$ this ->bMultibyteSupport = $ bMultibyteSupport ;
70
65
return $ this ;
@@ -73,11 +68,9 @@ public function withMultibyteSupport($bMultibyteSupport = true): self
73
68
/**
74
69
* Sets the charset to be used if the CSS does not contain an `@charset` declaration.
75
70
*
76
- * @param string $sDefaultCharset
77
- *
78
71
* @return $this fluent interface
79
72
*/
80
- public function withDefaultCharset ($ sDefaultCharset ): self
73
+ public function withDefaultCharset (string $ sDefaultCharset ): self
81
74
{
82
75
$ this ->sDefaultCharset = $ sDefaultCharset ;
83
76
return $ this ;
@@ -86,11 +79,9 @@ public function withDefaultCharset($sDefaultCharset): self
86
79
/**
87
80
* Configures whether the parser should silently ignore invalid rules.
88
81
*
89
- * @param bool $usesLenientParsing
90
- *
91
82
* @return $this fluent interface
92
83
*/
93
- public function withLenientParsing ($ usesLenientParsing = true ): self
84
+ public function withLenientParsing (bool $ usesLenientParsing = true ): self
94
85
{
95
86
$ this ->bLenientParsing = $ usesLenientParsing ;
96
87
return $ this ;
0 commit comments