original_string: public function updated(Option $model)
      {
          $option  = Option::query()->firstOrNew([
              'name' => 'notifications_remove_after_days'
          ]);
  
          $option->value = input('days');
          return $option->save();
      }
code: public function updated(Option $model)
      {
          $option  = Option::query()->firstOrNew([
              'name' => 'notifications_remove_after_days'
          ]);
  
          $option->value = input('days');
          return $option->save();
      }
code_tokens: public function updated ( Option $ model ) { $ option = Option :: query ( ) -> firstOrNew ( [ 'name' => 'notifications_remove_after_days' ] ) ; $ option -> value = input ( 'days' ) ; return $ option -> save ( ) ; }
docstring: Save notifications configuration
  
  @param Option $model
docstring_tokens: Save notifications configuration