Code Duplication    Length = 3-3 lines in 2 locations

SwaggerGen/Swagger/Operation.php 1 location

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

SwaggerGen/Swagger/Swagger.php 1 location

@@ 126-128 (lines=3) @@
123
				return $this;
124
				
125
			case 'produce':
126
			case 'produces':
127
				$this->produces = array_merge($this->produces, self::translateMimeTypes(self::wordSplit($data)));
128
				return $this;
129
130
			case 'model': // alias
131
				$data = 'params ' . $data;