@@ -307,7 +307,7 @@ discard block |
||
307 | 307 | public function serialize(): array |
308 | 308 | { |
309 | 309 | $fields = array_map( |
310 | - function (Field $f) { |
|
310 | + function(Field $f) { |
|
311 | 311 | return [ |
312 | 312 | 'datatype' => $f->getDatatype()->getName(), |
313 | 313 | 'validators' => $f->getValidators(), |
@@ -363,7 +363,7 @@ discard block |
||
363 | 363 | } |
364 | 364 | $renderables = $this->getRenderables(); |
365 | 365 | $r = array_map( |
366 | - function ($name, $value) { |
|
366 | + function($name, $value) { |
|
367 | 367 | $v = $value; |
368 | 368 | if (is_string($value)) { |
369 | 369 | $v = '"' . str_replace('"', '\\"', $value) . '"'; |
@@ -30,11 +30,11 @@ |
||
30 | 30 | public function getExtradataSerialize(): array |
31 | 31 | { |
32 | 32 | return array_map( |
33 | - function (Extradata $e) { |
|
33 | + function(Extradata $e) { |
|
34 | 34 | return [ |
35 | 35 | 'name' => $e->getName(), |
36 | 36 | 'args' => array_map( |
37 | - function (ExtradataParameter $a) { |
|
37 | + function(ExtradataParameter $a) { |
|
38 | 38 | return [ |
39 | 39 | 'name' => $a->name, |
40 | 40 | 'value' => $a->value |
@@ -133,7 +133,7 @@ |
||
133 | 133 | $this->getDocumentation() . |
134 | 134 | "\n\nRandom value example: " . var_export($this->getRandom(), true) . |
135 | 135 | "\n\nSQL datatype: `" . $this->getSQLType() . "`" . |
136 | - "\n\nLaravel SQL datatype: `" . $this->getLaravelSQLType('name') . "`", |
|
136 | + "\n\nLaravel SQL datatype: `" . $this->getLaravelSQLType('name') . "`", |
|
137 | 137 | [] |
138 | 138 | ); |
139 | 139 | } |