original_string: protected function castBooleans($input):array
      {
          if ($this->castToBooleanIsDisabled()) {
              return [];
          }
  
          $casted = [];
  
          foreach ($input as $key => $value) {
              $casted[$key] = $this->castValueToBoolean($value);
          }
  
          return $casted;
      }
code: protected function castBooleans($input):array
      {
          if ($this->castToBooleanIsDisabled()) {
              return [];
          }
  
          $casted = [];
  
          foreach ($input as $key => $value) {
              $casted[$key] = $this->castValueToBoolean($value);
          }
  
          return $casted;
      }
code_tokens: protected function castBooleans ( $ input ) : array { if ( $ this -> castToBooleanIsDisabled ( ) ) { return [ ] ; } $ casted = [ ] ; foreach ( $ input as $ key => $ value ) { $ casted [ $ key ] = $ this -> castValueToBoolean ( $ value ) ; } return $ casted ; }
docstring: Cast all string booleans to real boolean values.
  
  @param  mixed $input
  @return array
docstring_tokens: Cast all string booleans to real boolean values .