浏览代码

Update error message

Co-authored-by: othercorey <corey.taylor.fl@gmail.com>
ADmad 5 年之前
父节点
当前提交
fd2f28413e
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/Http/Cookie/Cookie.php

+ 1 - 1
src/Http/Cookie/Cookie.php

@@ -526,7 +526,7 @@ class Cookie implements CookieInterface
     {
         if (!in_array($sameSite, CookieInterface::SAMESITE_VALUES, true)) {
             throw new InvalidArgumentException(
-                'Samesite value must be either of: ' . implode(', ', CookieInterface::SAMESITE_VALUES)
+                'SameSite value must be either of: ' . implode(', ', CookieInterface::SAMESITE_VALUES)
             );
         }
     }