From ca940932a7338fdaa86b2f800714fb15c946a5ec Mon Sep 17 00:00:00 2001 From: Gregory Ballantine Date: Mon, 3 Jun 2024 10:45:33 -0400 Subject: [PATCH] Removed references to old result routes; fixed typos in some models --- src/Models/Benchmark.php | 2 +- src/Models/Component.php | 2 +- src/Models/Result.php | 2 +- views/index.twig | 7 +------ views/partials/navbar.twig | 7 +++---- 5 files changed, 7 insertions(+), 13 deletions(-) diff --git a/src/Models/Benchmark.php b/src/Models/Benchmark.php index df064da..caf5140 100644 --- a/src/Models/Benchmark.php +++ b/src/Models/Benchmark.php @@ -17,7 +17,7 @@ class Benchmark extends Model { } public function results() { - return $this->hasMany(Result::class): + return $this->hasMany(Result::class); } } diff --git a/src/Models/Component.php b/src/Models/Component.php index 02bdb46..e65c854 100644 --- a/src/Models/Component.php +++ b/src/Models/Component.php @@ -16,7 +16,7 @@ class Component extends Model { } public function results() { - return $this->hasMany(Result::class): + return $this->hasMany(Result::class); } } diff --git a/src/Models/Result.php b/src/Models/Result.php index cae3f6d..544bd03 100644 --- a/src/Models/Result.php +++ b/src/Models/Result.php @@ -18,7 +18,7 @@ class Result extends Model { } public function component() { - return $this->belongsTo(Component::class): + return $this->belongsTo(Component::class); } public function benchmark() { diff --git a/views/index.twig b/views/index.twig index 72c1fc8..0c75999 100644 --- a/views/index.twig +++ b/views/index.twig @@ -14,15 +14,10 @@
- {% endblock %} diff --git a/views/partials/navbar.twig b/views/partials/navbar.twig index a480e16..350108b 100644 --- a/views/partials/navbar.twig +++ b/views/partials/navbar.twig @@ -3,10 +3,9 @@ - +