original_string: public function castToArray()
      {
          $this->ifPart = function ($v) { return !\is_array($v); };
          $this->thenPart = function ($v) { return [$v]; };
  
          return $this;
      }
code: public function castToArray()
      {
          $this->ifPart = function ($v) { return !\is_array($v); };
          $this->thenPart = function ($v) { return [$v]; };
  
          return $this;
      }
code_tokens: public function castToArray ( ) { $ this -> ifPart = function ( $ v ) { return ! \ is_array ( $ v ) ; } ; $ this -> thenPart = function ( $ v ) { return [ $ v ] ; } ; return $ this ; }
docstring: Transforms variables of any type into an array.
  
  @return $this
docstring_tokens: Transforms variables of any type into an array .