Code Duplication    Length = 9-9 lines in 3 locations

SwaggerGen/Swagger/Parameter.php 1 location

@@ 107-115 (lines=9) @@
104
		}
105
	}
106
107
	public function handleCommand($command, $data = null)
108
	{
109
		// Pass through to Type
110
		if ($this->Type && $this->Type->handleCommand($command, $data)) {
111
			return $this;
112
		}
113
114
		return parent::handleCommand($command, $data);
115
	}
116
117
	public function toArray()
118
	{

SwaggerGen/Swagger/Schema.php 1 location

@@ 72-80 (lines=9) @@
69
		$this->description = $description;
70
	}
71
72
	public function handleCommand($command, $data = null)
73
	{
74
		// Pass through to Type
75
		if ($this->type && $this->type->handleCommand($command, $data)) {
76
			return $this;
77
		}
78
79
		return parent::handleCommand($command, $data);
80
	}
81
82
	public function toArray()
83
	{

SwaggerGen/Swagger/Type/Property.php 1 location

@@ 79-87 (lines=9) @@
76
		$this->description = $description;
77
	}
78
79
	public function handleCommand($command, $data = null)
80
	{
81
		// Pass through to Type
82
		if ($this->Type && $this->Type->handleCommand($command, $data)) {
83
			return $this;
84
		}
85
86
		return parent::handleCommand($command, $data);
87
	}
88
89
	public function toArray()
90
	{