Skip to content

Commit 9ce2cc1

Browse files
authored
Merge pull request #14 from essemme/pull-requests
Simple fixes
2 parents a83d3c4 + 0d7ed0a commit 9ce2cc1

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/Commands/FieldsFileCreateCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ public static function getFields($input, $withoutPrimaryKey)
133133
$fields[] = $properties;
134134
}
135135

136-
return FieldTransformer::array($fields, 'generic');
136+
return FieldTransformer::fieldsArray($fields, 'generic');
137137
}
138138

139139
/**

src/Support/FieldTransformer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ public static function json($json, $localeGroup)
183183
*
184184
* @return array
185185
*/
186-
public static function array(array $collection, $localeGroup)
186+
public static function fieldsArray(array $collection, $localeGroup)
187187
{
188188
$transformer = new self($collection, $localeGroup);
189189

templates/default-collective/view-model.stub

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ namespace App\Http\Requests;
44

55
use Illuminate\Foundation\Http\FormRequest;
66

7-
class [% view_model_class}} extends FormRequest
7+
class [% view_model_class %] extends FormRequest
88
{
99
/**
1010
* Determine if the user is authorized to make this request.

templates/default/view-model.stub

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ namespace App\Http\Requests;
44

55
use Illuminate\Foundation\Http\FormRequest;
66

7-
class [% view_model_class}} extends FormRequest
7+
class [% view_model_class %] extends FormRequest
88
{
99
/**
1010
* Determine if the user is authorized to make this request.

0 commit comments

Comments
 (0)