@@ -56,9 +56,9 @@ public static function create(): Settings
5656 *
5757 * @param bool $bMultibyteSupport
5858 *
59- * @return self fluent interface
59+ * @return $this fluent interface
6060 */
61- public function withMultibyteSupport ($ bMultibyteSupport = true )
61+ public function withMultibyteSupport ($ bMultibyteSupport = true ): self
6262 {
6363 $ this ->bMultibyteSupport = $ bMultibyteSupport ;
6464 return $ this ;
@@ -69,9 +69,9 @@ public function withMultibyteSupport($bMultibyteSupport = true)
6969 *
7070 * @param string $sDefaultCharset
7171 *
72- * @return self fluent interface
72+ * @return $this fluent interface
7373 */
74- public function withDefaultCharset ($ sDefaultCharset )
74+ public function withDefaultCharset ($ sDefaultCharset ): self
7575 {
7676 $ this ->sDefaultCharset = $ sDefaultCharset ;
7777 return $ this ;
@@ -82,9 +82,9 @@ public function withDefaultCharset($sDefaultCharset)
8282 *
8383 * @param bool $bLenientParsing
8484 *
85- * @return self fluent interface
85+ * @return $this fluent interface
8686 */
87- public function withLenientParsing ($ bLenientParsing = true )
87+ public function withLenientParsing ($ bLenientParsing = true ): self
8888 {
8989 $ this ->bLenientParsing = $ bLenientParsing ;
9090 return $ this ;
@@ -93,9 +93,9 @@ public function withLenientParsing($bLenientParsing = true)
9393 /**
9494 * Configures the parser to choke on invalid rules.
9595 *
96- * @return self fluent interface
96+ * @return $this fluent interface
9797 */
98- public function beStrict ()
98+ public function beStrict (): self
9999 {
100100 return $ this ->withLenientParsing (false );
101101 }
0 commit comments