original_string: protected function _fixStrategies()
      {
          foreach ($this->_aliasList as $aliases) {
              foreach ($aliases as $configs) {
                  if (count($configs) < 2) {
                      continue;
                  }
                  /* @var \Cake\ORM\EagerLoadable $loadable */
                  foreach ($configs as $loadable) {
                      if (strpos($loadable->aliasPath(), '.')) {
                          $this->_correctStrategy($loadable);
                      }
                  }
              }
          }
      }
code: protected function _fixStrategies()
      {
          foreach ($this->_aliasList as $aliases) {
              foreach ($aliases as $configs) {
                  if (count($configs) < 2) {
                      continue;
                  }
                  /* @var \Cake\ORM\EagerLoadable $loadable */
                  foreach ($configs as $loadable) {
                      if (strpos($loadable->aliasPath(), '.')) {
                          $this->_correctStrategy($loadable);
                      }
                  }
              }
          }
      }
code_tokens: protected function _fixStrategies ( ) { foreach ( $ this -> _aliasList as $ aliases ) { foreach ( $ aliases as $ configs ) { if ( count ( $ configs ) < 2 ) { continue ; } /* @var \Cake\ORM\EagerLoadable $loadable */ foreach ( $ configs as $ loadable ) { if ( strpos ( $ loadable -> aliasPath ( ) , '.' ) ) { $ this -> _correctStrategy ( $ loadable ) ; } } } } }
docstring: Iterates over the joinable aliases list and corrects the fetching strategies
  in order to avoid aliases collision in the generated queries.
  
  This function operates on the array references that were generated by the
  _normalizeContain() function.
  
  @return void
docstring_tokens: Iterates over the joinable aliases list and corrects the fetching strategies in order to avoid aliases collision in the generated queries .