original_string: protected function _splitArgs($args)
      {
          $out = [];
          foreach ($args as $arg) {
              if (strpos($arg, ':') !== false) {
                  list($key, $value) = explode(':', $arg);
                  if (in_array($value, ['true', 'false'])) {
                      $value = $value === 'true';
                  }
                  $out[$key] = $value;
              } else {
                  $out[] = $arg;
              }
          }
  
          return $out;
      }
code: protected function _splitArgs($args)
      {
          $out = [];
          foreach ($args as $arg) {
              if (strpos($arg, ':') !== false) {
                  list($key, $value) = explode(':', $arg);
                  if (in_array($value, ['true', 'false'])) {
                      $value = $value === 'true';
                  }
                  $out[$key] = $value;
              } else {
                  $out[] = $arg;
              }
          }
  
          return $out;
      }
code_tokens: protected function _splitArgs ( $ args ) { $ out = [ ] ; foreach ( $ args as $ arg ) { if ( strpos ( $ arg , ':' ) !== false ) { list ( $ key , $ value ) = explode ( ':' , $ arg ) ; if ( in_array ( $ value , [ 'true' , 'false' ] ) ) { $ value = $ value === 'true' ; } $ out [ $ key ] = $ value ; } else { $ out [ ] = $ arg ; } } return $ out ; }
docstring: Split the CLI arguments into a hash.
  
  @param array $args The arguments to split.
  @return array
docstring_tokens: Split the CLI arguments into a hash .