From e42f453161b86751aa48e41baba4dba9351f546e Mon Sep 17 00:00:00 2001 From: Gregory Ballantine Date: Tue, 10 Jun 2025 11:30:00 -0400 Subject: [PATCH] Fixed a few small typos --- bin/docker-phinx.sh | 2 +- db/migrations/20230923020649_add_tests_table.php | 2 +- src/Controllers/ComponentController.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/docker-phinx.sh b/bin/docker-phinx.sh index 4b38c03..4b04535 100755 --- a/bin/docker-phinx.sh +++ b/bin/docker-phinx.sh @@ -1,3 +1,3 @@ #!/bin/sh -docker exec colossus-php ./vendor/bin/phinx "$@" +docker exec colossus-php ./vendor/bin/phinx $@ diff --git a/db/migrations/20230923020649_add_tests_table.php b/db/migrations/20230923020649_add_tests_table.php index 5206cb2..c61cc97 100644 --- a/db/migrations/20230923020649_add_tests_table.php +++ b/db/migrations/20230923020649_add_tests_table.php @@ -14,7 +14,7 @@ final class AddTestsTable extends AbstractMigration { ->addTimestamps() ->create(); - $table = $this->table('test_benchmark'); + $table = $this->table('benchmark_test'); $table->addColumn('test_id', 'integer', ['null' => false]) ->addColumn('benchmark_id', 'integer', ['null' => false]) ->addForeignKey('test_id', 'tests', 'id', ['delete'=> 'CASCADE', 'update'=> 'CASCADE']) diff --git a/src/Controllers/ComponentController.php b/src/Controllers/ComponentController.php index 0036576..05720a1 100644 --- a/src/Controllers/ComponentController.php +++ b/src/Controllers/ComponentController.php @@ -32,7 +32,7 @@ class ComponentController extends Controller { $component = Component::where('id', $args['component_id'])->first(); $view = Twig::fromRequest($request); - return $view->render($response, 'components/view.twig', [ + return $view->render($response, 'component/view.twig', [ 'component' => $component, ]); }