Completed
Pull Request — master (#6)
by Guilh
02:50
created
src/collections/Definitions.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,6 @@
 block discarded – undo
46 46
 	 * Sets the field
47 47
 	 * 
48 48
 	 * @param string name
49
-	 * @param Schema $schame
50 49
 	 */
51 50
 	public function set($name, Schema $schema) {
52 51
 		$this->definitions->set($name, $schema);
Please login to merge, or discard this patch.
src/collections/Responses.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -77,7 +77,6 @@
 block discarded – undo
77 77
 	/**
78 78
 	 * Sets the response
79 79
 	 * 
80
-	 * @param Response $code
81 80
 	 */
82 81
 	public function set(Response $response) {
83 82
 		$this->responses->set($response->getCode(), $response);
Please login to merge, or discard this patch.
src/collections/Parameters.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -91,7 +91,6 @@
 block discarded – undo
91 91
 	 * Searches whether a parameter with the given unique combination exists
92 92
 	 *
93 93
 	 * @param string $name
94
-	 * @param string $id
95 94
 	 * @return boolean
96 95
 	 */
97 96
 	public function search($name, $in) {
Please login to merge, or discard this patch.
src/AbstractModel.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -56,6 +56,9 @@
 block discarded – undo
56 56
 		return $out;
57 57
 	}
58 58
 
59
+	/**
60
+	 * @param integer $strategy
61
+	 */
59 62
 	protected function mergeFields(&$original, $external, $strategy)
60 63
 	{
61 64
 		if ($original instanceof self && method_exists($original, 'merge')) {
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -56,8 +56,7 @@
 block discarded – undo
56 56
 		return $out;
57 57
 	}
58 58
 
59
-	protected function mergeFields(&$original, $external, $strategy)
60
-	{
59
+	protected function mergeFields(&$original, $external, $strategy) {
61 60
 		if ($original instanceof self && method_exists($original, 'merge')) {
62 61
 			$original->merge($external, $strategy);
63 62
 
Please login to merge, or discard this patch.
src/Header.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,6 @@
 block discarded – undo
6 6
 use gossi\swagger\parts\ItemsPart;
7 7
 use gossi\swagger\parts\TypePart;
8 8
 use phootwork\collection\CollectionUtils;
9
-use phootwork\collection\Map;
10 9
 use phootwork\lang\Arrayable;
11 10
 
12 11
 class Header extends AbstractModel implements Arrayable {
Please login to merge, or discard this patch.