Skip to content

Commit 964a71a

Browse files
committed
bug fix adding static keyword
1 parent a28afa7 commit 964a71a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Domain.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ public function __debugInfo()
259259
/**
260260
* {@inheritdoc}
261261
*/
262-
public function __set_state(array $properties)
262+
public static function __set_state(array $properties)
263263
{
264264
return new self($properties['domain'], $properties['publicSuffix']);
265265
}

src/PublicSuffix.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ public function __debugInfo()
140140
/**
141141
* {@inheritdoc}
142142
*/
143-
public function __set_state(array $properties)
143+
public static function __set_state(array $properties)
144144
{
145145
return new self($properties['publicSuffix'], $properties['type']);
146146
}

0 commit comments

Comments
 (0)