Code Duplication    Length = 3-3 lines in 2 locations

SwaggerGen/Swagger/Swagger.php 1 location

@@ 140-142 (lines=3) @@
137
				return $this;
138
139
			case 'produce':
140
			case 'produces':
141
				$this->produces = array_merge($this->produces, self::translateMimeTypes(self::wordSplit($data)));
142
				return $this;
143
144
			case 'model':
145
			case 'definition':

SwaggerGen/Swagger/Operation.php 1 location

@@ 73-75 (lines=3) @@
70
71
			// MIME[]
72
			case 'consumes':
73
			case 'produces':
74
				$this->$command = array_merge($this->$command, self::translateMimeTypes(self::wordSplit($data)));
75
				return $this;
76
77
			// boolean
78
			case 'deprecated':