Skip to content

Commit

Permalink
added a missing @throws annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
konecnyjakub committed Dec 8, 2017
1 parent e71dd31 commit 0074a95
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Bridges/NetteDI/RssExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ final class RssExtension extends CompilerExtension {
"dateTimeFormat" => "Y-m-d H:i:s",
];

/**
* @throws \Nette\Utils\AssertionException
*/
public function loadConfiguration(): void {
$config = $this->getConfig($this->defaults);
Validators::assertField($config, "shortenDescription", "integer");
Expand Down

0 comments on commit 0074a95

Please sign in to comment.