File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ class CrudColumn
1111 public function __construct (MigrationField $ migrationField )
1212 {
1313 $ this ->type = $ migrationField ->getType ();
14- $ this ->field = $ migrationField ->getField ();
14+ $ this ->field = $ migrationField ->getName ();
1515 }
1616
1717 public function generateColumn (): array
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ class CrudField
1111 public function __construct (MigrationField $ migrationField )
1212 {
1313 $ this ->type = $ migrationField ->getType ();
14- $ this ->field = $ migrationField ->getField ();
14+ $ this ->field = $ migrationField ->getName ();
1515 }
1616
1717 public function generateField (): array
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ private function fillObject(string $param)
5757 /**
5858 * @return string
5959 */
60- public function getField ()
60+ public function getName ()
6161 {
6262 return $ this ->name ;
6363 }
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ public function __construct(MigrationField $migrationField)
1717 }
1818
1919 $ this ->type = $ migrationField ->getType ();
20- $ this ->field = $ migrationField ->getField ();
20+ $ this ->field = $ migrationField ->getName ();
2121 }
2222
2323 public function generateRuleString (): ?string
You can’t perform that action at this time.
0 commit comments