Skip to content

Commit

Permalink
Merge pull request #13 from fb-ts/master
Browse files Browse the repository at this point in the history
Corrent namespace Ad class
  • Loading branch information
sokil authored Nov 27, 2017
2 parents ca0be52 + bc1f6ff commit 667e30e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Document.php
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ public function getAdSections()
$type = $node->tagName;

// create ad section
$adTypeClassName = '\\Sokil\\Vast\\AbstractAdNode\\' . $type;
$adTypeClassName = '\\Sokil\\Vast\\Ad\\' . $type;
if (!class_exists($adTypeClassName)) {
throw new \Exception('Ad type ' . $type . ' not supported');
}
Expand Down

0 comments on commit 667e30e

Please sign in to comment.