Skip to content

Commit 62dc4cb

Browse files
committed
options validator trait declaration
1 parent b12609e commit 62dc4cb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/OptionalConstructor.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,6 @@ public function __construct(Client $client, array $options = [])
2020

2121
$this->validateOptions();
2222
}
23+
24+
abstract protected function validateOptions();
2325
}

0 commit comments

Comments
 (0)