original_string: protected function _normalizeActions($actions)
      {
          $normalized = [];
          foreach ($actions as $key => $config) {
              if (is_array($config)) {
                  $normalized[$key] = $config;
              } else {
                  $normalized[$config] = [];
              }
          }
  
          return $normalized;
      }
code: protected function _normalizeActions($actions)
      {
          $normalized = [];
          foreach ($actions as $key => $config) {
              if (is_array($config)) {
                  $normalized[$key] = $config;
              } else {
                  $normalized[$config] = [];
              }
          }
  
          return $normalized;
      }
code_tokens: protected function _normalizeActions ( $ actions ) { $ normalized = [ ] ; foreach ( $ actions as $ key => $ config ) { if ( is_array ( $ config ) ) { $ normalized [ $ key ] = $ config ; } else { $ normalized [ $ config ] = [ ] ; } } return $ normalized ; }
docstring: Convert mixed action configs to unified structure
  
  [
  'ACTION_1' => [..config...],
  'ACTION_2' => [..config...],
  'ACTION_N' => [..config...]
  ]
  
  @param array $actions Actions
  @return array
docstring_tokens: Convert mixed action configs to unified structure