Skip to content

Commit

Permalink
Updated
Browse files Browse the repository at this point in the history
  • Loading branch information
devtoolboxuk committed Jun 22, 2019
1 parent 5bc7aa7 commit 3c46108
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion src/AbstractService.php
Expand Up @@ -165,7 +165,7 @@ protected function getOptions()
public function setOptions($options = [])
{
$baseOptions = new BaseOptions();
$this->options = $this->utilityService->arrays()->arrayMergeRecursiveDistinct($baseOptions->getOptions(), $options);
$this->options = $this->arrayUtility->arrayMergeRecursiveDistinct($baseOptions->getOptions(), $options);
}


Expand Down
3 changes: 0 additions & 3 deletions src/CerberusService.php
Expand Up @@ -3,7 +3,6 @@
namespace devtoolboxuk\cerberus;

use devtoolboxuk\cerberus\handlers\Handler;
use devtoolboxuk\utilitybundle\UtilityService;
use ReflectionClass;

class CerberusService extends AbstractService implements CerberusInterface
Expand All @@ -14,8 +13,6 @@ class CerberusService extends AbstractService implements CerberusInterface

public function __construct()
{
$this->utilityService = new UtilityService();
$this->arrayUtility = $this->utilityService->arrays();
$this->resetHandlers();
}

Expand Down

0 comments on commit 3c46108

Please sign in to comment.