1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-10 00:42:41 +01:00

Add assert_instances_of()

Auditors: epriestley
This commit is contained in:
vrana 2012-04-25 16:23:06 -07:00
parent b44f687ce2
commit a0417d97c8
2 changed files with 1 additions and 1 deletions

View file

@ -18,7 +18,6 @@
final class DifferentialChangesetViewController extends DifferentialController {
public function shouldRequireLogin() {
return !$this->allowsAnonymousAccess();
}

View file

@ -22,6 +22,7 @@ final class DiffusionBrowseTableView extends DiffusionView {
private $handles = array();
public function setPaths(array $paths) {
assert_instances_of($paths, 'DiffusionRepositoryPath');
$this->paths = $paths;
return $this;
}