Skip to content
Snippets Groups Projects
Verified Commit 65c115af authored by Bartek Jaskulski's avatar Bartek Jaskulski
Browse files

refactor: styling improvements

parent a2549f07
No related branches found
No related tags found
No related merge requests found
......@@ -21,5 +21,4 @@ abstract class AbstractMigration {
abstract public function up(): bool;
public function down(): void {}
}
......@@ -57,5 +57,4 @@ abstract class AbstractMigrationsRepository implements MigrationsRepository {
}
abstract protected function load_migrations(): void;
}
......@@ -25,5 +25,4 @@ class AvailableMigration {
public function get_migration(): AbstractMigration {
return $this->migration;
}
}
......@@ -12,5 +12,4 @@ interface MigrationFinder {
* @return class-string<AbstractMigration>[]
*/
public function find_migrations( string $directory ): array;
}
......@@ -6,5 +6,4 @@ namespace WPDesk\Migrations;
interface Migrator {
public function migrate(): void;
}
......@@ -6,5 +6,4 @@ namespace WPDesk\Migrations\Version;
interface Comparator {
public function compare( Version $a, Version $b ): int;
}
......@@ -15,5 +15,4 @@ final class Version {
public function __toString(): string {
return $this->version;
}
}
......@@ -30,5 +30,4 @@ class WpdbMigrationFactory implements MigrationFactory {
$this->logger
);
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment