From 679d8d6661f612f69b640b5c39f156b06f090dce Mon Sep 17 00:00:00 2001 From: Zach Leigh Date: Fri, 4 Nov 2016 02:15:34 +0000 Subject: [PATCH] Applied fixes from StyleCI --- src/BundleItems/ItemFactory.php | 4 ++-- src/Exceptions/InvalidModificationArgument.php | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/BundleItems/ItemFactory.php b/src/BundleItems/ItemFactory.php index 5e73d81..04a5ceb 100644 --- a/src/BundleItems/ItemFactory.php +++ b/src/BundleItems/ItemFactory.php @@ -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); } @@ -57,7 +57,7 @@ public static function build($id, $type = null, array $parameters = []) /** * Validate the target. * - * @param string $target + * @param string $target * * @throws InvalidModificationTarget */ diff --git a/src/Exceptions/InvalidModificationArgument.php b/src/Exceptions/InvalidModificationArgument.php index 8530af9..83eaa35 100644 --- a/src/Exceptions/InvalidModificationArgument.php +++ b/src/Exceptions/InvalidModificationArgument.php @@ -32,5 +32,4 @@ public static function modifcationClassNotFound($className) { return new static("Class {$className} can not be found."); } - }