Browse Source

Update error message

Co-authored-by: othercorey <corey.taylor.fl@gmail.com>
ADmad 5 years ago
parent
commit
fd2f28413e
1 changed files with 1 additions and 1 deletions
  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)) {
         if (!in_array($sameSite, CookieInterface::SAMESITE_VALUES, true)) {
             throw new InvalidArgumentException(
             throw new InvalidArgumentException(
-                'Samesite value must be either of: ' . implode(', ', CookieInterface::SAMESITE_VALUES)
+                'SameSite value must be either of: ' . implode(', ', CookieInterface::SAMESITE_VALUES)
             );
             );
         }
         }
     }
     }