Completed
Pull Request — master (#4)
by Guilh
02:11
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 2 patches
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.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
 	 * @return boolean
51 51
 	 */
52 52
 	public function searchByName($name) {
53
-		return $this->parameters->search($name, function (Parameter $param, $name) {
53
+		return $this->parameters->search($name, function(Parameter $param, $name) {
54 54
 			return $param->getName() == $name;
55 55
 		});
56 56
 	}
@@ -95,7 +95,7 @@  discard block
 block discarded – undo
95 95
 	 * @return boolean
96 96
 	 */
97 97
 	public function search($name, $in) {
98
-		return $this->parameters->search(function (Parameter $param) use ($name, $in) {
98
+		return $this->parameters->search(function(Parameter $param) use ($name, $in) {
99 99
 			return $param->getIn() == $in && $param->getName() == $name;
100 100
 		});
101 101
 	}
Please login to merge, or discard this patch.
src/AbstractModel.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
 
14 14
 		// flatten array
15 15
 		$fields = [];
16
-		array_walk_recursive($cols, function ($a) use (&$fields) { $fields[] = $a; });
16
+		array_walk_recursive($cols, function($a) use (&$fields) { $fields[] = $a; });
17 17
 
18 18
 		$out = [];
19 19
 		$refl = new \ReflectionClass(get_class($this));
Please login to merge, or discard this patch.