original_string: public static function fill($seeder)
      {
          $data = [];
          //
          if ($seeder->count <= 0) {
              foreach ($seeder->data() as $value) {
                  // Collection::push($data, $value);
                  array_push($data, $value);
              }
          } else {
              for ($i = 0; $i < $seeder->count; $i++) {
                  // Collection::push($data, $seeder->data());
                  array_push($data, $seeder->data());
              }
          }
          //
          return $data;
      }
code: public static function fill($seeder)
      {
          $data = [];
          //
          if ($seeder->count <= 0) {
              foreach ($seeder->data() as $value) {
                  // Collection::push($data, $value);
                  array_push($data, $value);
              }
          } else {
              for ($i = 0; $i < $seeder->count; $i++) {
                  // Collection::push($data, $seeder->data());
                  array_push($data, $seeder->data());
              }
          }
          //
          return $data;
      }
code_tokens: public static function fill ( $ seeder ) { $ data = [ ] ; // if ( $ seeder -> count <= 0 ) { foreach ( $ seeder -> data ( ) as $ value ) { // Collection::push($data, $value); array_push ( $ data , $ value ) ; } } else { for ( $ i = 0 ; $ i < $ seeder -> count ; $ i ++ ) { // Collection::push($data, $seeder->data()); array_push ( $ data , $ seeder -> data ( ) ) ; } } // return $ data ; }
docstring: Fill data.
docstring_tokens: Fill data .