Skip to content

Commit

Permalink
fix return path
Browse files Browse the repository at this point in the history
  • Loading branch information
ifsnop committed Sep 7, 2014
1 parent b3f6649 commit e5ad871
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/Ifsnop/Mysqldump/Mysqldump.php
Original file line number Diff line number Diff line change
Expand Up @@ -350,10 +350,10 @@ private function exportViews()
}

/**
* Table structure extractor.
* Table structure extractor
*
* @param string $tableName Name of table to export
* @return boolean
* @return null
*/
private function getTableStructure($tableName)
{
Expand All @@ -371,17 +371,17 @@ private function getTableStructure($tableName)
}
$this->compressManager->write($r['Create Table'] . ";\n\n");
}
return true;
return;
}
throw new Exception("Error getting table structure, unknown output");
}
}

/**
* View structure extractor.
* View structure extractor
*
* @param string $viewName Name of view to export
* @return boolean
* @return null
*/
private function getViewStructure($viewName)
{
Expand All @@ -400,7 +400,7 @@ private function getViewStructure($viewName)
}
$this->compressManager->write($r['Create View'] . ";\n\n");
}
return true;
return;
}
throw new Exception("Error getting view structure, unknown output");
}
Expand Down

0 comments on commit e5ad871

Please sign in to comment.