We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2623f2b commit b1d4ffcCopy full SHA for b1d4ffc
system/HTTP/Cookie/Cookie.php
@@ -126,7 +126,7 @@ class Cookie implements ArrayAccess, CloneableCookieInterface
126
*/
127
public static function setDefaults($config = [])
128
{
129
- $oldDefaults = static::$defaults;
+ $oldDefaults = self::$defaults;
130
$newDefaults = [];
131
132
if ($config instanceof App)
@@ -149,7 +149,7 @@ public static function setDefaults($config = [])
149
150
// This array union ensures that even if passed `$config`
151
// is not `App` or `array`, no empty defaults will occur.
152
- static::$defaults = $newDefaults + $oldDefaults;
+ self::$defaults = $newDefaults + $oldDefaults;
153
154
return $oldDefaults;
155
}
0 commit comments