Revisions per robbieaverill
This commit is contained in:
parent
eecb9f64d3
commit
4857816c9e
|
@ -42,6 +42,8 @@ class InheritedPermissionFlusher extends DataExtension implements Flushable
|
|||
|
||||
/**
|
||||
* @param CacheFlusher[]
|
||||
* @throws InvalidArgumentException
|
||||
* @return $this
|
||||
*/
|
||||
public function setServices($services)
|
||||
{
|
||||
|
@ -57,6 +59,8 @@ class InheritedPermissionFlusher extends DataExtension implements Flushable
|
|||
}
|
||||
|
||||
$this->services = $services;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -85,11 +89,7 @@ class InheritedPermissionFlusher extends DataExtension implements Flushable
|
|||
*/
|
||||
protected function getMemberIDList()
|
||||
{
|
||||
if (!$this->owner) {
|
||||
return null;
|
||||
}
|
||||
|
||||
if (!$this->owner->exists()) {
|
||||
if (!$this->owner || !$this->owner->exists()) {
|
||||
return null;
|
||||
}
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@ class InheritedPermissionsFlusherTest extends SapphireTest
|
|||
{
|
||||
protected static $fixture_file = 'InheritedPermissionsFlusherTest.yml';
|
||||
|
||||
public function setUp()
|
||||
protected function setUp()
|
||||
{
|
||||
parent::setUp();
|
||||
|
||||
|
|
Loading…
Reference in New Issue