Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
sl0wik authored and StyleCIBot committed Sep 2, 2021
1 parent 87e7013 commit 7fd3949
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
13 changes: 7 additions & 6 deletions src/Commands/SpannerDump.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@

namespace Firevel\MysqlToSpanner\Commands;

use Storage;
use DB;
use Illuminate\Console\Command;
use Illuminate\Support\Str;
use MgCosta\MysqlParser\Parser;
use MgCosta\MysqlParser\Dialect;
use Illuminate\Console\Command;
use MgCosta\MysqlParser\Parser;
use Storage;

class SpannerDump extends Command
{
Expand Down Expand Up @@ -114,7 +114,7 @@ public function handle()
* Check if table should be ignored.
*
* @param string $table
* @return boolean
* @return bool
*/
public function isIgnored($table)
{
Expand All @@ -123,7 +123,7 @@ public function isIgnored($table)
return true;
}
}

return false;
}

Expand All @@ -140,6 +140,7 @@ public function saveToFile($query, $file, $disk = null)
if (empty($disk)) {
file_put_contents($file, $query);
$this->info("Query saved to $file");

return;
}

Expand Down Expand Up @@ -198,6 +199,6 @@ public function getTables()
{
$tables = DB::select('SHOW TABLES');

return array_map('current',$tables);
return array_map('current', $tables);
}
}
1 change: 0 additions & 1 deletion src/MysqlToSpannerServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,4 @@ public function boot()
]);
}
}

}

0 comments on commit 7fd3949

Please sign in to comment.