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:
parent
b44f687ce2
commit
a0417d97c8
2 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,6 @@
|
|||
|
||||
final class DifferentialChangesetViewController extends DifferentialController {
|
||||
|
||||
|
||||
public function shouldRequireLogin() {
|
||||
return !$this->allowsAnonymousAccess();
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue