Skip to content

Commit

Permalink
Fix: Pivot table Missing Class name
Browse files Browse the repository at this point in the history
  • Loading branch information
bpocallaghan committed May 5, 2017
1 parent 88ac96e commit b2cefe4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Commands/MigrationPivotCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class MigrationPivotCommand extends GeneratorCommand
*/
public function fire()
{
$name = $this->qualifyClass($this->getNameInput());
$name = $this->parseName($this->getNameInput());
$path = $this->getPath($name);

if ($this->files->exists($path) && $this->optionForce() === false) {
Expand All @@ -55,7 +55,7 @@ public function fire()
*/
protected function getNameInput()
{
//
return '';
}

/**
Expand Down

0 comments on commit b2cefe4

Please sign in to comment.