Skip to content

Commit 3e85c7e

Browse files
committed
Removed unneeded checks.
1 parent 86973df commit 3e85c7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ToolkitApi/ToolkitServiceXML.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public function __construct($options ='', ToolkitService $ToolkitSrvObj = null)
4646
}
4747
}
4848

49-
if (isset($ToolkitSrvObj) && $ToolkitSrvObj instanceof ToolkitService) {
49+
if ($ToolkitSrvObj) {
5050
$this->ToolkitSrvObj = $ToolkitSrvObj;
5151
$this->_isCw = $this->ToolkitSrvObj->getIsCw();
5252
}

0 commit comments

Comments
 (0)