@@ -67,7 +67,7 @@ |
||
| 67 | 67 | $propItem = $manager->createItem()->fromArray( $list ); |
| 68 | 68 | |
| 69 | 69 | if( isset( $map[$propItem->getType()][$propItem->getLanguageId()][$propItem->getValue()] ) ) { |
| 70 | - unset( $propItems[ $map[$propItem->getType()][$propItem->getLanguageId()][$propItem->getValue()] ] ); |
|
| 70 | + unset( $propItems[$map[$propItem->getType()][$propItem->getLanguageId()][$propItem->getValue()]] ); |
|
| 71 | 71 | } else { |
| 72 | 72 | $item->addPropertyItem( $propItem ); |
| 73 | 73 | } |
@@ -52,7 +52,7 @@ discard block |
||
| 52 | 52 | |
| 53 | 53 | if( ctype_alnum( $type ) === false ) |
| 54 | 54 | { |
| 55 | - $classname = is_string($type) ? '\\Aimeos\\Controller\\Common\\Common\\Import\\Xml\\Processor\\' . $type : '<not a string>'; |
|
| 55 | + $classname = is_string( $type ) ? '\\Aimeos\\Controller\\Common\\Common\\Import\\Xml\\Processor\\' . $type : '<not a string>'; |
|
| 56 | 56 | throw new \Aimeos\Controller\Common\Exception( sprintf( 'Invalid characters in class name "%1$s"', $classname ) ); |
| 57 | 57 | } |
| 58 | 58 | |
@@ -60,7 +60,7 @@ discard block |
||
| 60 | 60 | |
| 61 | 61 | if( ctype_alnum( $name ) === false ) |
| 62 | 62 | { |
| 63 | - $classname = is_string($name) ? '\\Aimeos\\Controller\\Common\\Common\\Import\\Xml\\Processor\\' . $type . '\\' . $name : '<not a string>'; |
|
| 63 | + $classname = is_string( $name ) ? '\\Aimeos\\Controller\\Common\\Common\\Import\\Xml\\Processor\\' . $type . '\\' . $name : '<not a string>'; |
|
| 64 | 64 | throw new \Aimeos\Controller\Common\Exception( sprintf( 'Invalid characters in class name "%1$s"', $classname ) ); |
| 65 | 65 | } |
| 66 | 66 | |
@@ -57,7 +57,7 @@ discard block |
||
| 57 | 57 | |
| 58 | 58 | if( ctype_alnum( $type ) === false ) |
| 59 | 59 | { |
| 60 | - $classname = is_string($name) ? '\\Aimeos\\Controller\\Common\\Product\\Import\\Csv\\Cache\\' . $type : '<not a string>'; |
|
| 60 | + $classname = is_string( $name ) ? '\\Aimeos\\Controller\\Common\\Product\\Import\\Csv\\Cache\\' . $type : '<not a string>'; |
|
| 61 | 61 | throw new \Aimeos\Controller\Common\Exception( sprintf( 'Invalid characters in class name "%1$s"', $classname ) ); |
| 62 | 62 | } |
| 63 | 63 | |
@@ -67,7 +67,7 @@ discard block |
||
| 67 | 67 | |
| 68 | 68 | if( ctype_alnum( $name ) === false ) |
| 69 | 69 | { |
| 70 | - $classname = is_string($name) ? '\\Aimeos\\Controller\\Common\\Product\\Import\\Csv\\Cache\\' . $type . '\\' . $name : '<not a string>'; |
|
| 70 | + $classname = is_string( $name ) ? '\\Aimeos\\Controller\\Common\\Product\\Import\\Csv\\Cache\\' . $type . '\\' . $name : '<not a string>'; |
|
| 71 | 71 | throw new \Aimeos\Controller\Common\Exception( sprintf( 'Invalid characters in class name "%1$s"', $classname ) ); |
| 72 | 72 | } |
| 73 | 73 | |
@@ -119,7 +119,7 @@ discard block |
||
| 119 | 119 | while( $content->valid() && $count++ < $maxcnt ) |
| 120 | 120 | { |
| 121 | 121 | $row = $content->current(); |
| 122 | - $data[ $row[$codePos] ] = $row; |
|
| 122 | + $data[$row[$codePos]] = $row; |
|
| 123 | 123 | $content->next(); |
| 124 | 124 | } |
| 125 | 125 | |
@@ -256,7 +256,7 @@ discard block |
||
| 256 | 256 | { |
| 257 | 257 | if( ctype_alnum( $type ) === false ) |
| 258 | 258 | { |
| 259 | - $classname = is_string($type) ? '\\Aimeos\\Controller\\Common\\Product\\Import\\Csv\\Processor\\' . $type : '<not a string>'; |
|
| 259 | + $classname = is_string( $type ) ? '\\Aimeos\\Controller\\Common\\Product\\Import\\Csv\\Processor\\' . $type : '<not a string>'; |
|
| 260 | 260 | throw new \Aimeos\Controller\Common\Exception( sprintf( 'Invalid characters in class name "%1$s"', $classname ) ); |
| 261 | 261 | } |
| 262 | 262 | |
@@ -264,7 +264,7 @@ discard block |
||
| 264 | 264 | |
| 265 | 265 | if( ctype_alnum( $name ) === false ) |
| 266 | 266 | { |
| 267 | - $classname = is_string($name) ? '\\Aimeos\\Controller\\Common\\Product\\Import\\Csv\\Processor\\' . $type . '\\' . $name : '<not a string>'; |
|
| 267 | + $classname = is_string( $name ) ? '\\Aimeos\\Controller\\Common\\Product\\Import\\Csv\\Processor\\' . $type . '\\' . $name : '<not a string>'; |
|
| 268 | 268 | throw new \Aimeos\Controller\Common\Exception( sprintf( 'Invalid characters in class name "%1$s"', $classname ) ); |
| 269 | 269 | } |
| 270 | 270 | |
@@ -300,7 +300,7 @@ discard block |
||
| 300 | 300 | $search->setSlice( 0, count( $codes ) ); |
| 301 | 301 | |
| 302 | 302 | foreach( $manager->searchItems( $search, $domains ) as $item ) { |
| 303 | - $result[ $item->getCode() ] = $item; |
|
| 303 | + $result[$item->getCode()] = $item; |
|
| 304 | 304 | } |
| 305 | 305 | |
| 306 | 306 | return $result; |