diff --git a/src/Type.php b/src/Type.php index 95cc791..95ab25f 100644 --- a/src/Type.php +++ b/src/Type.php @@ -117,21 +117,21 @@ public final static function constant($strType) { switch ($strType) { case Type::OBJECT: - return 'QCubed\\Type::OBJECT'; + return '\\QCubed\\Type::OBJECT'; case Type::STRING: - return 'QCubed\\Type::STRING'; + return '\\QCubed\\Type::STRING'; case Type::INTEGER: - return 'QCubed\\Type::INTEGER'; + return '\\QCubed\\Type::INTEGER'; case Type::FLOAT: - return 'QCubed\\Type::FLOAT'; + return '\\QCubed\\Type::FLOAT'; case Type::BOOLEAN: - return 'QCubed\\Type::BOOLEAN'; + return '\\QCubed\\Type::BOOLEAN'; case Type::ARRAY_TYPE: - return 'QCubed\\Type::ARRAY_TYPE'; + return '\\QCubed\\Type::ARRAY_TYPE'; case Type::RESOURCE: - return 'QCubed\\Type::RESOURCE'; + return '\\QCubed\\Type::RESOURCE'; case Type::DATE_TIME: - return 'QCubed\\Type::DATE_TIME'; + return '\\QCubed\\Type::DATE_TIME'; default: // Could not determine type @@ -547,4 +547,4 @@ final public static function alterSoapComplexTypeArray(&$strComplexTypeArray, $s $strItemName, Type::soapType($strType)); }*/ -} \ No newline at end of file +}