@@ -57,7 +57,6 @@ |
||
| 57 | 57 | * Sets the field. |
| 58 | 58 | * |
| 59 | 59 | * @param string name |
| 60 | - * @param Schema $schame |
|
| 61 | 60 | */ |
| 62 | 61 | public function set($name, Schema $schema) |
| 63 | 62 | { |
@@ -93,7 +93,6 @@ |
||
| 93 | 93 | /** |
| 94 | 94 | * Sets the response. |
| 95 | 95 | * |
| 96 | - * @param Response $code |
|
| 97 | 96 | */ |
| 98 | 97 | public function add(Response $response) |
| 99 | 98 | { |
@@ -15,7 +15,7 @@ |
||
| 15 | 15 | |
| 16 | 16 | // flatten array |
| 17 | 17 | $fields = []; |
| 18 | - array_walk_recursive($cols, function ($a) use (&$fields) { $fields[] = $a; }); |
|
| 18 | + array_walk_recursive($cols, function($a) use (&$fields) { $fields[] = $a; }); |
|
| 19 | 19 | |
| 20 | 20 | $out = []; |
| 21 | 21 | $refl = new \ReflectionClass(get_class($this)); |
@@ -57,7 +57,7 @@ |
||
| 57 | 57 | */ |
| 58 | 58 | public function searchByName($name) |
| 59 | 59 | { |
| 60 | - return $this->parameters->search($name, function (Parameter $param, $name) { |
|
| 60 | + return $this->parameters->search($name, function(Parameter $param, $name) { |
|
| 61 | 61 | return $param->getName() == $name; |
| 62 | 62 | }); |
| 63 | 63 | } |