Completed
Pull Request — master (#33)
by Martijn
02:28
created
SwaggerGen/Swagger/Parameter.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -108,7 +108,7 @@
 block discarded – undo
108 108
 		$format = strtolower($match[1]);
109 109
 		if (isset(self::$classTypes[$format])) {
110 110
 			$type = self::$classTypes[$format];
111
-			$class = "\\SwaggerGen\\Swagger\\Type\\{$type}Type";
111
+			$class = "\\SwaggerGen\\Swagger\\Type\\{$type}type";
112 112
 			$this->Type = new $class($this, $definition);
113 113
 		} elseif (isset(self::$customClassTypes[$format])) {
114 114
 			$class = self::$customClassTypes[$format];
Please login to merge, or discard this patch.
SwaggerGen/Swagger/Type/Custom/ICustomType.php 1 patch
Braces   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -10,8 +10,8 @@
 block discarded – undo
10 10
  * @copyright  2014-2017 Martijn van der Lee
11 11
  * @license    https://opensource.org/licenses/MIT MIT
12 12
  */
13
-interface ICustomType
14
-{
13
+interface ICustomType
14
+{
15 15
 
16 16
 	public static function register($type = null);
17 17
 
Please login to merge, or discard this patch.
SwaggerGen/Swagger/Type/AbstractType.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -172,7 +172,7 @@
 block discarded – undo
172 172
 		// Internal type if type known and not overwritten by definition
173 173
 		if (isset(self::$classTypes[$format])) {
174 174
 			$type = self::$classTypes[$format];
175
-			$class = "\\SwaggerGen\\Swagger\\Type\\{$type}Type";
175
+			$class = "\\SwaggerGen\\Swagger\\Type\\{$type}type";
176 176
 			return new $class($parent, $definition);
177 177
 		} elseif (isset(self::$customClassTypes[$format])) {
178 178
 			$class = self::$customClassTypes[$format];
Please login to merge, or discard this patch.