@@ 7724-7729 (lines=6) @@ | ||
7721 | $counter = array(); |
|
7722 | $backup = null; |
|
7723 | ||
7724 | foreach($this->numerator as $atomicUnit){ |
|
7725 | if( !$backup ){ |
|
7726 | $backup = $atomicUnit; |
|
7727 | } |
|
7728 | $counter[$atomicUnit] = ( isset($counter[$atomicUnit]) ? $counter[$atomicUnit] : 0) + 1; |
|
7729 | } |
|
7730 | ||
7731 | foreach($this->denominator as $atomicUnit){ |
|
7732 | if( !$backup ){ |
|
@@ 7731-7736 (lines=6) @@ | ||
7728 | $counter[$atomicUnit] = ( isset($counter[$atomicUnit]) ? $counter[$atomicUnit] : 0) + 1; |
|
7729 | } |
|
7730 | ||
7731 | foreach($this->denominator as $atomicUnit){ |
|
7732 | if( !$backup ){ |
|
7733 | $backup = $atomicUnit; |
|
7734 | } |
|
7735 | $counter[$atomicUnit] = ( isset($counter[$atomicUnit]) ? $counter[$atomicUnit] : 0) - 1; |
|
7736 | } |
|
7737 | ||
7738 | $this->numerator = array(); |
|
7739 | $this->denominator = array(); |