Skip to content

Commit

Permalink
Prettify code
Browse files Browse the repository at this point in the history
  • Loading branch information
antonioribeiro authored and github-actions[bot] committed Jun 7, 2024
1 parent b599ae2 commit f0cdb5f
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
10 changes: 9 additions & 1 deletion src/Models/TwillFeatureFlag.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,15 @@ class TwillFeatureFlag extends Model
{
use HasRevisions;

protected $fillable = ['published', 'title', 'description', 'code', 'publicly_available', 'ip_addresses', 'publicly_available_twill_users'];
protected $fillable = [
'published',
'title',
'description',
'code',
'publicly_available',
'ip_addresses',
'publicly_available_twill_users',
];

/**
* Save the model to the database.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;

return new class extends Migration
{
return new class extends Migration {
/**
* Run the migrations.
*/
Expand Down
2 changes: 1 addition & 1 deletion src/resources/views/admin/form.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
'label' => 'Publicly available',
])

@if(features_can_be_public_on_twill())
@if (features_can_be_public_on_twill())
@formField('checkbox', [
'name' => 'publicly_available_twill_users',
'label' => 'Publicly available for users logged in Twill',
Expand Down

0 comments on commit f0cdb5f

Please sign in to comment.