From 767d05cd803cb59d4c1ef0b20a757eea6a868c67 Mon Sep 17 00:00:00 2001 From: "steve.brazier" Date: Wed, 20 Nov 2013 11:47:29 +0000 Subject: [PATCH] Update constants to uppercase to match psr2. --- PHPCI/Plugin/Util/Factory.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/PHPCI/Plugin/Util/Factory.php b/PHPCI/Plugin/Util/Factory.php index 6bb7336e..4e6065e6 100644 --- a/PHPCI/Plugin/Util/Factory.php +++ b/PHPCI/Plugin/Util/Factory.php @@ -6,8 +6,8 @@ namespace PHPCI\Plugin\Util; class Factory { - const TYPE_Array = "array"; - const TYPE_Callable = "callable"; + const TYPE_ARRAY = "array"; + const TYPE_CALLABLE = "callable"; private $currentPluginOptions; @@ -124,9 +124,9 @@ class Factory { if ($class) { return $class->getName(); } elseif($param->isArray()) { - return self::TYPE_Array; + return self::TYPE_ARRAY; } elseif($param->isCallable()) { - return self::TYPE_Callable; + return self::TYPE_CALLABLE; } else { return null; }