@@ -78,8 +78,7 @@ discard block |
||
| 78 | 78 | foreach( $manager->search( $search ) as $item ) { |
| 79 | 79 | $this->listTypes[$item->getCode()] = $item->getCode(); |
| 80 | 80 | } |
| 81 | - } |
|
| 82 | - else |
|
| 81 | + } else |
|
| 83 | 82 | { |
| 84 | 83 | $this->listTypes = array_combine( $this->listTypes, $this->listTypes ); |
| 85 | 84 | } |
@@ -141,8 +140,7 @@ discard block |
||
| 141 | 140 | $listItem = $listMap[$content][$language][$type][$listtype]; |
| 142 | 141 | $refItem = $listItem->getRefItem(); |
| 143 | 142 | unset( $listItems[$listItem->getId()] ); |
| 144 | - } |
|
| 145 | - else |
|
| 143 | + } else |
|
| 146 | 144 | { |
| 147 | 145 | $listItem = $manager->createListItem()->setType( $listtype ); |
| 148 | 146 | $refItem = $refManager->create()->setType( $type ); |
@@ -78,8 +78,7 @@ |
||
| 78 | 78 | foreach( $manager->search( $search ) as $item ) { |
| 79 | 79 | $this->listTypes[$item->getCode()] = $item->getCode(); |
| 80 | 80 | } |
| 81 | - } |
|
| 82 | - else |
|
| 81 | + } else |
|
| 83 | 82 | { |
| 84 | 83 | $this->listTypes = array_combine( $this->listTypes, $this->listTypes ); |
| 85 | 84 | } |
@@ -78,8 +78,7 @@ |
||
| 78 | 78 | foreach( $manager->search( $search ) as $item ) { |
| 79 | 79 | $this->listTypes[$item->getCode()] = $item->getCode(); |
| 80 | 80 | } |
| 81 | - } |
|
| 82 | - else |
|
| 81 | + } else |
|
| 83 | 82 | { |
| 84 | 83 | $this->listTypes = array_combine( $this->listTypes, $this->listTypes ); |
| 85 | 84 | } |
@@ -81,8 +81,7 @@ discard block |
||
| 81 | 81 | foreach( $manager->search( $search ) as $item ) { |
| 82 | 82 | $this->listTypes[$item->getCode()] = $item->getCode(); |
| 83 | 83 | } |
| 84 | - } |
|
| 85 | - else |
|
| 84 | + } else |
|
| 86 | 85 | { |
| 87 | 86 | $this->listTypes = array_combine( $this->listTypes, $this->listTypes ); |
| 88 | 87 | } |
@@ -151,8 +150,7 @@ discard block |
||
| 151 | 150 | $listItem = $listMap[$url][$type][$langId][$listtype]; |
| 152 | 151 | $refItem = $listItem->getRefItem(); |
| 153 | 152 | unset( $listItems[$listItem->getId()] ); |
| 154 | - } |
|
| 155 | - else |
|
| 153 | + } else |
|
| 156 | 154 | { |
| 157 | 155 | $listItem = $manager->createListItem()->setType( $listtype ); |
| 158 | 156 | $refItem = $refManager->create()->setType( $type ); |
@@ -78,8 +78,7 @@ |
||
| 78 | 78 | foreach( $manager->search( $search ) as $item ) { |
| 79 | 79 | $this->listTypes[$item->getCode()] = $item->getCode(); |
| 80 | 80 | } |
| 81 | - } |
|
| 82 | - else |
|
| 81 | + } else |
|
| 83 | 82 | { |
| 84 | 83 | $this->listTypes = array_combine( $this->listTypes, $this->listTypes ); |
| 85 | 84 | } |
@@ -78,8 +78,7 @@ |
||
| 78 | 78 | foreach( $manager->search( $search ) as $item ) { |
| 79 | 79 | $this->listTypes[$item->getCode()] = $item->getCode(); |
| 80 | 80 | } |
| 81 | - } |
|
| 82 | - else |
|
| 81 | + } else |
|
| 83 | 82 | { |
| 84 | 83 | $this->listTypes = array_combine( $this->listTypes, $this->listTypes ); |
| 85 | 84 | } |
@@ -78,8 +78,7 @@ |
||
| 78 | 78 | foreach( $manager->search( $search ) as $item ) { |
| 79 | 79 | $this->listTypes[$item->getCode()] = $item->getCode(); |
| 80 | 80 | } |
| 81 | - } |
|
| 82 | - else |
|
| 81 | + } else |
|
| 83 | 82 | { |
| 84 | 83 | $this->listTypes = array_combine( $this->listTypes, $this->listTypes ); |
| 85 | 84 | } |
@@ -65,8 +65,7 @@ |
||
| 65 | 65 | { |
| 66 | 66 | $item = $propMap[$value][$type]; |
| 67 | 67 | $items->remove( $item->getId() ); |
| 68 | - } |
|
| 69 | - else |
|
| 68 | + } else |
|
| 70 | 69 | { |
| 71 | 70 | $item = $manager->create()->setType( $type ); |
| 72 | 71 | } |
@@ -78,8 +78,7 @@ discard block |
||
| 78 | 78 | foreach( $manager->search( $search ) as $item ) { |
| 79 | 79 | $this->listTypes[$item->getCode()] = $item->getCode(); |
| 80 | 80 | } |
| 81 | - } |
|
| 82 | - else |
|
| 81 | + } else |
|
| 83 | 82 | { |
| 84 | 83 | $this->listTypes = array_combine( $this->listTypes, $this->listTypes ); |
| 85 | 84 | } |
@@ -137,8 +136,7 @@ discard block |
||
| 137 | 136 | $listItem = $listMap[$content][$type][$listtype]; |
| 138 | 137 | $refItem = $listItem->getRefItem(); |
| 139 | 138 | unset( $listItems[$listItem->getId()] ); |
| 140 | - } |
|
| 141 | - else |
|
| 139 | + } else |
|
| 142 | 140 | { |
| 143 | 141 | $listItem = $manager->createListItem()->setType( $listtype ); |
| 144 | 142 | $refItem = $refManager->create()->setType( $type ); |