original_string: protected function seedSchedules()
      {
          $defaultSchedules = [
              [
                  'name'         => 'Demo resets every half hour!',
                  'message'      => 'You can schedule downtime for _your_ service!',
                  'status'       => Schedule::UPCOMING,
                  'scheduled_at' => (new DateTime())->add(new DateInterval('PT2H')),
              ],
          ];
  
          Schedule::truncate();
  
          foreach ($defaultSchedules as $schedule) {
              Schedule::create($schedule);
          }
      }
code: protected function seedSchedules()
      {
          $defaultSchedules = [
              [
                  'name'         => 'Demo resets every half hour!',
                  'message'      => 'You can schedule downtime for _your_ service!',
                  'status'       => Schedule::UPCOMING,
                  'scheduled_at' => (new DateTime())->add(new DateInterval('PT2H')),
              ],
          ];
  
          Schedule::truncate();
  
          foreach ($defaultSchedules as $schedule) {
              Schedule::create($schedule);
          }
      }
code_tokens: protected function seedSchedules ( ) { $ defaultSchedules = [ [ 'name' => 'Demo resets every half hour!' , 'message' => 'You can schedule downtime for _your_ service!' , 'status' => Schedule :: UPCOMING , 'scheduled_at' => ( new DateTime ( ) ) -> add ( new DateInterval ( 'PT2H' ) ) , ] , ] ; Schedule :: truncate ( ) ; foreach ( $ defaultSchedules as $ schedule ) { Schedule :: create ( $ schedule ) ; } }
docstring: Seed the schedules table.
  
  @return void
docstring_tokens: Seed the schedules table .