diff --git a/src/Controllers/BenchmarkController.php b/src/Controllers/BenchmarkController.php index 729e93a..b9a4804 100644 --- a/src/Controllers/BenchmarkController.php +++ b/src/Controllers/BenchmarkController.php @@ -44,7 +44,7 @@ class BenchmarkController extends Controller { public function postAdd(Request $request, Response $response): Response { $params = (array)$request->getParsedBody(); - $benchmark = new Benchmark; + $benchmark = new Benchmark(); $benchmark->name = $params['benchmark_name']; $benchmark->description = $params['benchmark_description']; $benchmark->scoring = $params['benchmark_scoring']; diff --git a/src/Models/Test.php b/src/Models/Test.php index ff95d46..9b62654 100644 --- a/src/Models/Test.php +++ b/src/Models/Test.php @@ -5,7 +5,6 @@ namespace BitGoblin\Colossus\Models; use Illuminate\Database\Eloquent\Model; class Test extends Model { - protected $fillable = [ 'date_tag', 'benchmark_id', @@ -68,5 +67,4 @@ class Test extends Model { return $data; } - }