@@ -22,26 +22,26 @@ final class Response implements IResponse
2222{
2323 use Nette \SmartObject;
2424
25- /** @var string The domain in which the cookie will be available */
26- public $ cookieDomain = '' ;
25+ /** The domain in which the cookie will be available */
26+ public string $ cookieDomain = '' ;
2727
28- /** @var string The path in which the cookie will be available */
29- public $ cookiePath = '/ ' ;
28+ /** The path in which the cookie will be available */
29+ public string $ cookiePath = '/ ' ;
3030
31- /** @var bool Whether the cookie is available only through HTTPS */
32- public $ cookieSecure = false ;
31+ /** Whether the cookie is available only through HTTPS */
32+ public bool $ cookieSecure = false ;
3333
3434 /** @deprecated */
3535 public $ cookieHttpOnly ;
3636
37- /** @var bool Whether warn on possible problem with data in output buffer */
38- public $ warnOnBuffer = true ;
37+ /** Whether warn on possible problem with data in output buffer */
38+ public bool $ warnOnBuffer = true ;
3939
40- /** @var bool Send invisible garbage for IE 6? */
41- private static $ fixIE = true ;
40+ /** Send invisible garbage for IE 6? */
41+ private static bool $ fixIE = true ;
4242
43- /** @var int HTTP response code */
44- private $ code = self ::S200_OK ;
43+ /** HTTP response code */
44+ private int $ code = self ::S200_OK ;
4545
4646
4747 public function __construct ()
0 commit comments