summaryrefslogtreecommitdiffstats
path: root/apps/workflowengine/tests/ManagerTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/workflowengine/tests/ManagerTest.php')
-rw-r--r--apps/workflowengine/tests/ManagerTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/workflowengine/tests/ManagerTest.php b/apps/workflowengine/tests/ManagerTest.php
index cad4be174cf..191e7bfec84 100644
--- a/apps/workflowengine/tests/ManagerTest.php
+++ b/apps/workflowengine/tests/ManagerTest.php
@@ -287,7 +287,7 @@ class ManagerTest extends TestCase {
->willReturnCallback(function ($class) {
if(substr($class, -2) === 'Op') {
return $this->createMock(IOperation::class);
- } else if($class === File::class) {
+ } elseif($class === File::class) {
return $this->getMockBuilder(File::class)
->setConstructorArgs([
$this->l,
@@ -424,7 +424,7 @@ class ManagerTest extends TestCase {
$entityTypeCounts = array_reduce($entities, function (array $carry, IEntity $entity) {
if($entity instanceof File) $carry[0]++;
- else if($entity instanceof IEntity) $carry[1]++;
+ elseif($entity instanceof IEntity) $carry[1]++;
return $carry;
}, [0, 0]);