Fixed a few small typos

This commit is contained in:
Gregory Ballantine 2025-06-10 11:30:00 -04:00
parent 12b7743660
commit e42f453161
3 changed files with 3 additions and 3 deletions

View File

@ -1,3 +1,3 @@
#!/bin/sh #!/bin/sh
docker exec colossus-php ./vendor/bin/phinx "$@" docker exec colossus-php ./vendor/bin/phinx $@

View File

@ -14,7 +14,7 @@ final class AddTestsTable extends AbstractMigration {
->addTimestamps() ->addTimestamps()
->create(); ->create();
$table = $this->table('test_benchmark'); $table = $this->table('benchmark_test');
$table->addColumn('test_id', 'integer', ['null' => false]) $table->addColumn('test_id', 'integer', ['null' => false])
->addColumn('benchmark_id', 'integer', ['null' => false]) ->addColumn('benchmark_id', 'integer', ['null' => false])
->addForeignKey('test_id', 'tests', 'id', ['delete'=> 'CASCADE', 'update'=> 'CASCADE']) ->addForeignKey('test_id', 'tests', 'id', ['delete'=> 'CASCADE', 'update'=> 'CASCADE'])

View File

@ -32,7 +32,7 @@ class ComponentController extends Controller {
$component = Component::where('id', $args['component_id'])->first(); $component = Component::where('id', $args['component_id'])->first();
$view = Twig::fromRequest($request); $view = Twig::fromRequest($request);
return $view->render($response, 'components/view.twig', [ return $view->render($response, 'component/view.twig', [
'component' => $component, 'component' => $component,
]); ]);
} }