Skip to content

Commit d091626

Browse files
authored
Prevent conflict with region (#469)
1 parent 647d713 commit d091626

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/Input.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111
*/
1212
abstract class Input
1313
{
14+
/**
15+
* @var string|null
16+
*/
1417
public $region;
1518

1619
/**
@@ -23,6 +26,11 @@ protected function __construct(array $input)
2326
$this->region = $input['@region'] ?? null;
2427
}
2528

29+
public function setRegion(?string $region): void
30+
{
31+
$this->region = $region;
32+
}
33+
2634
public function getRegion(): ?string
2735
{
2836
return $this->region;

0 commit comments

Comments
 (0)