code: public function collectAssignInCondition($node, ArrayDto $arrayDto = null)
      {
          if ($arrayDto === null) {
              $arrayDto = new ArrayDto();
          }
  
          foreach ($this->nodeFetcher->foreachNodes($node) as $stmtData) {
              $collected = $this->extract($stmtData['node'], $arrayDto, $stmtData['parentClass']);
          }
          
          return $this->extract($node, $arrayDto);
      }
docs: @param mixed $node
  
  @return ArrayDto