original_string: protected function get_this_slot($slots, $slotnumber) {
          foreach ($slots as $key => $slot) {
              if ($slot->slot == $slotnumber) {
                  return $slot;
              }
          }
          return null;
      }
code: protected function get_this_slot($slots, $slotnumber) {
          foreach ($slots as $key => $slot) {
              if ($slot->slot == $slotnumber) {
                  return $slot;
              }
          }
          return null;
      }
code_tokens: protected function get_this_slot ( $ slots , $ slotnumber ) { foreach ( $ slots as $ key => $ slot ) { if ( $ slot -> slot == $ slotnumber ) { return $ slot ; } } return null ; }
docstring: Return current slot object.
  @param array $slots
  @param int $slotnumber
  @return stdClass $slot
docstring_tokens: Return current slot object .