Skip to content
This repository has been archived by the owner on Mar 7, 2019. It is now read-only.

Commit

Permalink
Remove dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
sstok committed Feb 4, 2017
1 parent 1b54c05 commit 34b49be
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/Annotation/Breadcrumb.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,14 +66,6 @@ public function __construct(array $data)
if ($this->fullRoute && $this->route) {
throw new \InvalidArgumentException(sprintf('Only "route" or "fullRoute" can be provided.'));
}

if (!$this->fullName && !$this->name) {
throw new \InvalidArgumentException(sprintf('Eg. "name" or "fullName" must be provided.'));
}

if (!$this->fullRoute && !$this->route) {
throw new \InvalidArgumentException(sprintf('Eg. "route" or "fullRoute" must be provided.'));
}
}

/**
Expand Down

0 comments on commit 34b49be

Please sign in to comment.