original_string: public function validateDependencies(array &$items, $enabled = false)
      {
          foreach ($items as &$item) {
              $this->validateDependency($item, $items, $enabled);
          }
  
          return $items;
      }
code: public function validateDependencies(array &$items, $enabled = false)
      {
          foreach ($items as &$item) {
              $this->validateDependency($item, $items, $enabled);
          }
  
          return $items;
      }
code_tokens: public function validateDependencies ( array & $ items , $ enabled = false ) { foreach ( $ items as & $ item ) { $ this -> validateDependency ( $ item , $ items , $ enabled ) ; } return $ items ; }
docstring: Validates dependency for an array of items
  @param array $items
  @param bool $enabled
  @return array
docstring_tokens: Validates dependency for an array of items