Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
DarkSide666 authored and StyleCIBot committed Jan 20, 2020
1 parent fb62b28 commit 2872fdb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/CollectionTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public function _addIntoCollection(string $name, object $object, string $collect
'Object with requested name already exist in collection',
'name' => $name,
'collection'=> $collection,
]);
]);
}
$this->{$collection}[$name] = $object;

Expand Down
8 changes: 4 additions & 4 deletions src/DynamicMethodTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ public function __call(string $method, $arguments)

throw new Exception([
'Method '.$method.' is not defined for this object',
'class' => get_class($this),
'method' => $method,
'arguments' => $arguments,
]);
'class' => get_class($this),
'method' => $method,
'arguments' => $arguments,
]);
}

/**
Expand Down

0 comments on commit 2872fdb

Please sign in to comment.