Skip to content

Commit

Permalink
Merge pull request #10 from zachleigh/analysis-8AbwrG
Browse files Browse the repository at this point in the history
Applied fixes from StyleCI
  • Loading branch information
zachleigh authored Nov 4, 2016
2 parents 8833c05 + 679d8d6 commit be9ede5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/BundleItems/ItemFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public static function build($id, $type = null, array $parameters = [])

if (class_exists($localClass)) {
return new $localClass($id, $target, $parameters);
} else if (class_exists($vendorClass)) {
} elseif (class_exists($vendorClass)) {
return new $vendorClass($id, $target, $parameters);
}

Expand All @@ -57,7 +57,7 @@ public static function build($id, $type = null, array $parameters = [])
/**
* Validate the target.
*
* @param string $target
* @param string $target
*
* @throws InvalidModificationTarget
*/
Expand Down
1 change: 0 additions & 1 deletion src/Exceptions/InvalidModificationArgument.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,4 @@ public static function modifcationClassNotFound($className)
{
return new static("Class {$className} can not be found.");
}

}

0 comments on commit be9ede5

Please sign in to comment.