Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
nicksagona committed Dec 13, 2023
1 parent dc779e1 commit 043de52
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ use Pop\Db\Sql\Seeder\AbstractSeeder;
class MyFirstSeeder extends AbstractSeeder
{
public function run(AbstractAdapter $db)
public function run(AbstractAdapter $db): void
{
}
Expand All @@ -247,7 +247,7 @@ use Pop\Db\Sql\Seeder\AbstractSeeder;
class DatabaseSeeder extends AbstractSeeder
{
public function run(AbstractAdapter $db)
public function run(AbstractAdapter $db): void
{
$sql = $db->createSql();
Expand Down Expand Up @@ -289,12 +289,12 @@ use Pop\Db\Sql\Migration\AbstractMigration;
class MyFirstMigration5dd822cdede29 extends AbstractMigration
{
public function up()
public function up(): void
{
}
public function down()
public function down(): void
{
}
Expand All @@ -312,7 +312,7 @@ use Pop\Db\Sql\Migration\AbstractMigration;
class MyFirstMigration5dd822cdede29 extends AbstractMigration
{
public function up()
public function up(): void
{
$schema = $this->db->createSchema();
$schema->create('users')
Expand All @@ -325,7 +325,7 @@ class MyFirstMigration5dd822cdede29 extends AbstractMigration
$schema->execute();
}
public function down()
public function down(): void
{
$schema = $this->db->createSchema();
$schema->drop('users');
Expand Down

0 comments on commit 043de52

Please sign in to comment.