Skip to content

Commit 277f9cd

Browse files
authored
Merge pull request #56 from keboola/jirka-fix-throws-on-snflk
Snflk has correct throw tags
2 parents ea4ee60 + 451567c commit 277f9cd

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
"squizlabs/php_codesniffer": "^3",
1717
"phpstan/phpstan": "^1",
1818
"php-parallel-lint/php-parallel-lint": "^1",
19-
"keboola/coding-standard": "^13.0"
19+
"keboola/coding-standard": "^13.0",
20+
"phpstan/phpdoc-parser": "1.5.1"
2021
},
2122
"autoload": {
2223
"psr-4": {

src/Definition/Snowflake.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,9 @@ class Snowflake extends Common
8686
* nullable?:bool,
8787
* default?:string|null
8888
* } $options
89+
* @throws InvalidLengthException
8990
* @throws InvalidOptionException
91+
* @throws InvalidTypeException
9092
*/
9193
public function __construct(string $type, array $options = [])
9294
{

0 commit comments

Comments
 (0)