@@ -52,7 +52,7 @@ |
||
52 | 52 | $this->additional->setEditor( 'core:unittest' ); |
53 | 53 | |
54 | 54 | $ds = DIRECTORY_SEPARATOR; |
55 | - $path = __DIR__ . $ds . 'data' . $ds . 'stock.php'; |
|
55 | + $path = __DIR__.$ds.'data'.$ds.'stock.php'; |
|
56 | 56 | |
57 | 57 | if( ( $testdata = include( $path ) ) == false ) { |
58 | 58 | throw new \Aimeos\MShop\Exception( sprintf( 'No file "%1$s" found for stock domain', $path ) ); |
@@ -48,27 +48,27 @@ discard block |
||
48 | 48 | $ds = DIRECTORY_SEPARATOR; |
49 | 49 | |
50 | 50 | $files = array( |
51 | - 'db-locale' => 'default' . $ds . 'schema' . $ds . 'locale.php', |
|
52 | - 'db-attribute' => 'default' . $ds . 'schema' . $ds . 'attribute.php', |
|
53 | - 'db-customer' => 'default' . $ds . 'schema' . $ds . 'customer.php', |
|
54 | - 'db-media' => 'default' . $ds . 'schema' . $ds . 'media.php', |
|
55 | - 'db-order' => 'default' . $ds . 'schema' . $ds . 'order.php', |
|
56 | - 'db-plugin' => 'default' . $ds . 'schema' . $ds . 'plugin.php', |
|
57 | - 'db-price' => 'default' . $ds . 'schema' . $ds . 'price.php', |
|
58 | - 'db-product' => 'default' . $ds . 'schema' . $ds . 'product.php', |
|
59 | - 'db-stock' => 'default' . $ds . 'schema' . $ds . 'stock.php', |
|
60 | - 'db-service' => 'default' . $ds . 'schema' . $ds . 'service.php', |
|
61 | - 'db-supplier' => 'default' . $ds . 'schema' . $ds . 'supplier.php', |
|
62 | - 'db-text' => 'default' . $ds . 'schema' . $ds . 'text.php', |
|
63 | - 'db-coupon' => 'default' . $ds . 'schema' . $ds . 'coupon.php', |
|
64 | - 'db-catalog' => 'default' . $ds . 'schema' . $ds . 'catalog.php', |
|
65 | - 'db-tag' => 'default' . $ds . 'schema' . $ds . 'tag.php', |
|
51 | + 'db-locale' => 'default'.$ds.'schema'.$ds.'locale.php', |
|
52 | + 'db-attribute' => 'default'.$ds.'schema'.$ds.'attribute.php', |
|
53 | + 'db-customer' => 'default'.$ds.'schema'.$ds.'customer.php', |
|
54 | + 'db-media' => 'default'.$ds.'schema'.$ds.'media.php', |
|
55 | + 'db-order' => 'default'.$ds.'schema'.$ds.'order.php', |
|
56 | + 'db-plugin' => 'default'.$ds.'schema'.$ds.'plugin.php', |
|
57 | + 'db-price' => 'default'.$ds.'schema'.$ds.'price.php', |
|
58 | + 'db-product' => 'default'.$ds.'schema'.$ds.'product.php', |
|
59 | + 'db-stock' => 'default'.$ds.'schema'.$ds.'stock.php', |
|
60 | + 'db-service' => 'default'.$ds.'schema'.$ds.'service.php', |
|
61 | + 'db-supplier' => 'default'.$ds.'schema'.$ds.'supplier.php', |
|
62 | + 'db-text' => 'default'.$ds.'schema'.$ds.'text.php', |
|
63 | + 'db-coupon' => 'default'.$ds.'schema'.$ds.'coupon.php', |
|
64 | + 'db-catalog' => 'default'.$ds.'schema'.$ds.'catalog.php', |
|
65 | + 'db-tag' => 'default'.$ds.'schema'.$ds.'tag.php', |
|
66 | 66 | ); |
67 | 67 | |
68 | 68 | $this->setupSchema( $files, true ); |
69 | 69 | |
70 | 70 | $files = array( |
71 | - 'db-product' => 'default' . $ds . 'schema' . $ds . 'index.php', |
|
71 | + 'db-product' => 'default'.$ds.'schema'.$ds.'index.php', |
|
72 | 72 | ); |
73 | 73 | |
74 | 74 | $this->setupSchema( $files, true ); |
@@ -86,27 +86,27 @@ discard block |
||
86 | 86 | $ds = DIRECTORY_SEPARATOR; |
87 | 87 | |
88 | 88 | $files = array( |
89 | - 'db-locale' => 'default' . $ds . 'schema' . $ds . 'locale.php', |
|
90 | - 'db-attribute' => 'default' . $ds . 'schema' . $ds . 'attribute.php', |
|
91 | - 'db-customer' => 'default' . $ds . 'schema' . $ds . 'customer.php', |
|
92 | - 'db-media' => 'default' . $ds . 'schema' . $ds . 'media.php', |
|
93 | - 'db-order' => 'default' . $ds . 'schema' . $ds . 'order.php', |
|
94 | - 'db-plugin' => 'default' . $ds . 'schema' . $ds . 'plugin.php', |
|
95 | - 'db-price' => 'default' . $ds . 'schema' . $ds . 'price.php', |
|
96 | - 'db-product' => 'default' . $ds . 'schema' . $ds . 'product.php', |
|
97 | - 'db-stock' => 'default' . $ds . 'schema' . $ds . 'stock.php', |
|
98 | - 'db-service' => 'default' . $ds . 'schema' . $ds . 'service.php', |
|
99 | - 'db-supplier' => 'default' . $ds . 'schema' . $ds . 'supplier.php', |
|
100 | - 'db-text' => 'default' . $ds . 'schema' . $ds . 'text.php', |
|
101 | - 'db-coupon' => 'default' . $ds . 'schema' . $ds . 'coupon.php', |
|
102 | - 'db-catalog' => 'default' . $ds . 'schema' . $ds . 'catalog.php', |
|
103 | - 'db-tag' => 'default' . $ds . 'schema' . $ds . 'tag.php', |
|
89 | + 'db-locale' => 'default'.$ds.'schema'.$ds.'locale.php', |
|
90 | + 'db-attribute' => 'default'.$ds.'schema'.$ds.'attribute.php', |
|
91 | + 'db-customer' => 'default'.$ds.'schema'.$ds.'customer.php', |
|
92 | + 'db-media' => 'default'.$ds.'schema'.$ds.'media.php', |
|
93 | + 'db-order' => 'default'.$ds.'schema'.$ds.'order.php', |
|
94 | + 'db-plugin' => 'default'.$ds.'schema'.$ds.'plugin.php', |
|
95 | + 'db-price' => 'default'.$ds.'schema'.$ds.'price.php', |
|
96 | + 'db-product' => 'default'.$ds.'schema'.$ds.'product.php', |
|
97 | + 'db-stock' => 'default'.$ds.'schema'.$ds.'stock.php', |
|
98 | + 'db-service' => 'default'.$ds.'schema'.$ds.'service.php', |
|
99 | + 'db-supplier' => 'default'.$ds.'schema'.$ds.'supplier.php', |
|
100 | + 'db-text' => 'default'.$ds.'schema'.$ds.'text.php', |
|
101 | + 'db-coupon' => 'default'.$ds.'schema'.$ds.'coupon.php', |
|
102 | + 'db-catalog' => 'default'.$ds.'schema'.$ds.'catalog.php', |
|
103 | + 'db-tag' => 'default'.$ds.'schema'.$ds.'tag.php', |
|
104 | 104 | ); |
105 | 105 | |
106 | 106 | $this->setupSchema( $files ); |
107 | 107 | |
108 | 108 | $files = array( |
109 | - 'db-product' => 'default' . $ds . 'schema' . $ds . 'index.php', |
|
109 | + 'db-product' => 'default'.$ds.'schema'.$ds.'index.php', |
|
110 | 110 | ); |
111 | 111 | |
112 | 112 | $this->setupSchema( $files ); |
@@ -127,7 +127,7 @@ discard block |
||
127 | 127 | |
128 | 128 | foreach( $this->getSetupPaths() as $abspath ) |
129 | 129 | { |
130 | - $filepath = $abspath . DIRECTORY_SEPARATOR . $relpath; |
|
130 | + $filepath = $abspath.DIRECTORY_SEPARATOR.$relpath; |
|
131 | 131 | |
132 | 132 | if( !file_exists( $filepath ) ) { |
133 | 133 | continue; |
@@ -165,7 +165,7 @@ discard block |
||
165 | 165 | { |
166 | 166 | foreach( $files as $rname => $relpath ) |
167 | 167 | { |
168 | - $this->msg( 'Using schema from ' . basename( $relpath ), 1 ); $this->status( '' ); |
|
168 | + $this->msg( 'Using schema from '.basename( $relpath ), 1 ); $this->status( '' ); |
|
169 | 169 | |
170 | 170 | $dbal = $this->getConnection( $rname )->getRawObject(); |
171 | 171 | |
@@ -223,7 +223,7 @@ discard block |
||
223 | 223 | { |
224 | 224 | foreach( $files as $rname => $filepath ) |
225 | 225 | { |
226 | - $this->msg( 'Using tables from ' . basename( $filepath ), 1 ); $this->status( '' ); |
|
226 | + $this->msg( 'Using tables from '.basename( $filepath ), 1 ); $this->status( '' ); |
|
227 | 227 | |
228 | 228 | if( ( $content = file_get_contents( $filepath ) ) === false ) { |
229 | 229 | throw new \Aimeos\MW\Setup\Exception( sprintf( 'Unable to get content from file "%1$s"', $filepath ) ); |
@@ -270,7 +270,7 @@ discard block |
||
270 | 270 | { |
271 | 271 | foreach( $this->getSetupPaths() as $abspath ) |
272 | 272 | { |
273 | - $filepath = $abspath . DIRECTORY_SEPARATOR . $relpath; |
|
273 | + $filepath = $abspath.DIRECTORY_SEPARATOR.$relpath; |
|
274 | 274 | |
275 | 275 | if( !file_exists( $filepath ) ) { |
276 | 276 | continue; |
@@ -8,7 +8,7 @@ discard block |
||
8 | 8 | |
9 | 9 | return array( |
10 | 10 | 'table' => array( |
11 | - 'mshop_stock_type' => function ( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
11 | + 'mshop_stock_type' => function( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
12 | 12 | |
13 | 13 | $table = $schema->createTable( 'mshop_stock_type' ); |
14 | 14 | |
@@ -31,7 +31,7 @@ discard block |
||
31 | 31 | return $schema; |
32 | 32 | }, |
33 | 33 | |
34 | - 'mshop_stock' => function ( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
34 | + 'mshop_stock' => function( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
35 | 35 | |
36 | 36 | $table = $schema->createTable( 'mshop_stock' ); |
37 | 37 |
@@ -8,7 +8,8 @@ discard block |
||
8 | 8 | |
9 | 9 | return array( |
10 | 10 | 'table' => array( |
11 | - 'mshop_stock_type' => function ( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
11 | + 'mshop_stock_type' => function ( \Doctrine\DBAL\Schema\Schema $schema ) |
|
12 | + { |
|
12 | 13 | |
13 | 14 | $table = $schema->createTable( 'mshop_stock_type' ); |
14 | 15 | |
@@ -31,7 +32,8 @@ discard block |
||
31 | 32 | return $schema; |
32 | 33 | }, |
33 | 34 | |
34 | - 'mshop_stock' => function ( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
35 | + 'mshop_stock' => function ( \Doctrine\DBAL\Schema\Schema $schema ) |
|
36 | + { |
|
35 | 37 | |
36 | 38 | $table = $schema->createTable( 'mshop_stock' ); |
37 | 39 |
@@ -8,7 +8,8 @@ discard block |
||
8 | 8 | |
9 | 9 | return array( |
10 | 10 | 'table' => array( |
11 | - 'mshop_product_type' => function ( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
11 | + 'mshop_product_type' => function ( \Doctrine\DBAL\Schema\Schema $schema ) |
|
12 | + { |
|
12 | 13 | |
13 | 14 | $table = $schema->createTable( 'mshop_product_type' ); |
14 | 15 | |
@@ -31,7 +32,8 @@ discard block |
||
31 | 32 | return $schema; |
32 | 33 | }, |
33 | 34 | |
34 | - 'mshop_product' => function ( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
35 | + 'mshop_product' => function ( \Doctrine\DBAL\Schema\Schema $schema ) |
|
36 | + { |
|
35 | 37 | |
36 | 38 | $table = $schema->createTable( 'mshop_product' ); |
37 | 39 | |
@@ -63,7 +65,8 @@ discard block |
||
63 | 65 | return $schema; |
64 | 66 | }, |
65 | 67 | |
66 | - 'mshop_product_list_type' => function ( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
68 | + 'mshop_product_list_type' => function ( \Doctrine\DBAL\Schema\Schema $schema ) |
|
69 | + { |
|
67 | 70 | |
68 | 71 | $table = $schema->createTable( 'mshop_product_list_type' ); |
69 | 72 | |
@@ -86,7 +89,8 @@ discard block |
||
86 | 89 | return $schema; |
87 | 90 | }, |
88 | 91 | |
89 | - 'mshop_product_list' => function ( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
92 | + 'mshop_product_list' => function ( \Doctrine\DBAL\Schema\Schema $schema ) |
|
93 | + { |
|
90 | 94 | |
91 | 95 | $table = $schema->createTable( 'mshop_product_list' ); |
92 | 96 | |
@@ -124,7 +128,8 @@ discard block |
||
124 | 128 | return $schema; |
125 | 129 | }, |
126 | 130 | |
127 | - 'mshop_product_property_type' => function ( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
131 | + 'mshop_product_property_type' => function ( \Doctrine\DBAL\Schema\Schema $schema ) |
|
132 | + { |
|
128 | 133 | |
129 | 134 | $table = $schema->createTable( 'mshop_product_property_type' ); |
130 | 135 | |
@@ -147,7 +152,8 @@ discard block |
||
147 | 152 | return $schema; |
148 | 153 | }, |
149 | 154 | |
150 | - 'mshop_product_property' => function ( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
155 | + 'mshop_product_property' => function ( \Doctrine\DBAL\Schema\Schema $schema ) |
|
156 | + { |
|
151 | 157 | |
152 | 158 | $table = $schema->createTable( 'mshop_product_property' ); |
153 | 159 |
@@ -8,7 +8,7 @@ discard block |
||
8 | 8 | |
9 | 9 | return array( |
10 | 10 | 'table' => array( |
11 | - 'mshop_product_type' => function ( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
11 | + 'mshop_product_type' => function( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
12 | 12 | |
13 | 13 | $table = $schema->createTable( 'mshop_product_type' ); |
14 | 14 | |
@@ -31,7 +31,7 @@ discard block |
||
31 | 31 | return $schema; |
32 | 32 | }, |
33 | 33 | |
34 | - 'mshop_product' => function ( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
34 | + 'mshop_product' => function( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
35 | 35 | |
36 | 36 | $table = $schema->createTable( 'mshop_product' ); |
37 | 37 | |
@@ -46,8 +46,8 @@ discard block |
||
46 | 46 | $table->addColumn( 'status', 'smallint', [] ); |
47 | 47 | $table->addColumn( 'mtime', 'datetime', [] ); |
48 | 48 | $table->addColumn( 'ctime', 'datetime', [] ); |
49 | - $table->addColumn( 'editor', 'string', array('length' => 255 ) ); |
|
50 | - $table->addColumn( 'target', 'string', array('length' => 255 ) ); |
|
49 | + $table->addColumn( 'editor', 'string', array( 'length' => 255 ) ); |
|
50 | + $table->addColumn( 'target', 'string', array( 'length' => 255 ) ); |
|
51 | 51 | |
52 | 52 | $table->setPrimaryKey( array( 'id' ), 'pk_mspro_id' ); |
53 | 53 | $table->addUniqueIndex( array( 'siteid', 'code' ), 'unq_mspro_siteid_code' ); |
@@ -64,7 +64,7 @@ discard block |
||
64 | 64 | return $schema; |
65 | 65 | }, |
66 | 66 | |
67 | - 'mshop_product_list_type' => function ( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
67 | + 'mshop_product_list_type' => function( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
68 | 68 | |
69 | 69 | $table = $schema->createTable( 'mshop_product_list_type' ); |
70 | 70 | |
@@ -87,7 +87,7 @@ discard block |
||
87 | 87 | return $schema; |
88 | 88 | }, |
89 | 89 | |
90 | - 'mshop_product_list' => function ( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
90 | + 'mshop_product_list' => function( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
91 | 91 | |
92 | 92 | $table = $schema->createTable( 'mshop_product_list' ); |
93 | 93 | |
@@ -125,7 +125,7 @@ discard block |
||
125 | 125 | return $schema; |
126 | 126 | }, |
127 | 127 | |
128 | - 'mshop_product_property_type' => function ( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
128 | + 'mshop_product_property_type' => function( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
129 | 129 | |
130 | 130 | $table = $schema->createTable( 'mshop_product_property_type' ); |
131 | 131 | |
@@ -148,7 +148,7 @@ discard block |
||
148 | 148 | return $schema; |
149 | 149 | }, |
150 | 150 | |
151 | - 'mshop_product_property' => function ( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
151 | + 'mshop_product_property' => function( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
152 | 152 | |
153 | 153 | $table = $schema->createTable( 'mshop_product_property' ); |
154 | 154 |
@@ -81,7 +81,7 @@ discard block |
||
81 | 81 | } |
82 | 82 | |
83 | 83 | foreach( $this->getStockItems( $productCodes, $stockTypes ) as $stockItem ) { |
84 | - $stockMap[ $stockItem->getProductCode() ][ $stockItem->getType() ] = $stockItem->getStocklevel(); |
|
84 | + $stockMap[$stockItem->getProductCode()][$stockItem->getType()] = $stockItem->getStocklevel(); |
|
85 | 85 | } |
86 | 86 | |
87 | 87 | return $this->checkStockLevels( $order, $stockMap ); |
@@ -106,10 +106,10 @@ discard block |
||
106 | 106 | { |
107 | 107 | $stocklevel = 0; |
108 | 108 | |
109 | - if( isset( $stockMap[ $orderProductItem->getProductCode() ] ) |
|
110 | - && array_key_exists( $orderProductItem->getStockType(), $stockMap[ $orderProductItem->getProductCode() ] ) |
|
109 | + if( isset( $stockMap[$orderProductItem->getProductCode()] ) |
|
110 | + && array_key_exists( $orderProductItem->getStockType(), $stockMap[$orderProductItem->getProductCode()] ) |
|
111 | 111 | ) { |
112 | - $stocklevel = $stockMap[ $orderProductItem->getProductCode() ][ $orderProductItem->getStockType() ]; |
|
112 | + $stocklevel = $stockMap[$orderProductItem->getProductCode()][$orderProductItem->getStockType()]; |
|
113 | 113 | } |
114 | 114 | |
115 | 115 | if( $stocklevel === null || $stocklevel >= $orderProductItem->getQuantity() ) { |
@@ -552,8 +552,8 @@ discard block |
||
552 | 552 | |
553 | 553 | while( ( $row = $results->fetch() ) !== false ) |
554 | 554 | { |
555 | - $map[ $row['stock.id'] ] = $row; |
|
556 | - $typeIds[ $row['stock.typeid'] ] = null; |
|
555 | + $map[$row['stock.id']] = $row; |
|
556 | + $typeIds[$row['stock.typeid']] = null; |
|
557 | 557 | } |
558 | 558 | |
559 | 559 | $dbm->release( $conn, $dbname ); |
@@ -576,9 +576,9 @@ discard block |
||
576 | 576 | |
577 | 577 | foreach( $map as $id => $row ) |
578 | 578 | { |
579 | - if( isset( $typeItems[ $row['stock.typeid'] ] ) ) |
|
579 | + if( isset( $typeItems[$row['stock.typeid']] ) ) |
|
580 | 580 | { |
581 | - $row['stock.type'] = $typeItems[ $row['stock.typeid'] ]->getCode(); |
|
581 | + $row['stock.type'] = $typeItems[$row['stock.typeid']]->getCode(); |
|
582 | 582 | $row['stock.typename'] = $typeItems[$row['stock.typeid']]->getName(); |
583 | 583 | } |
584 | 584 |
@@ -200,8 +200,7 @@ |
||
200 | 200 | * @see mshop/stock/manager/standard/stocklevel |
201 | 201 | */ |
202 | 202 | $path = 'mshop/stock/manager/standard/insert'; |
203 | - } |
|
204 | - else |
|
203 | + } else |
|
205 | 204 | { |
206 | 205 | /** mshop/stock/manager/standard/update/mysql |
207 | 206 | * Updates an existing product stock record in the database |
@@ -435,6 +435,7 @@ |
||
435 | 435 | * @param \Aimeos\MW\Criteria\Iface $search Search criteria object |
436 | 436 | * @param string[] $ref List of domains to fetch list items and referenced items for |
437 | 437 | * @param integer|null &$total Number of items that are available in total |
438 | + * @param integer $total |
|
438 | 439 | * @return array List of stock items implementing \Aimeos\MShop\Stock\Item\Iface |
439 | 440 | */ |
440 | 441 | public function searchItems( \Aimeos\MW\Criteria\Iface $search, array $ref = [], &$total = null ) |
@@ -283,7 +283,7 @@ |
||
283 | 283 | * @see mshop/stock/manager/type/decorators/global |
284 | 284 | */ |
285 | 285 | |
286 | - return $this->getSubManagerBase( 'stock', 'type/' . $manager, $name ); |
|
286 | + return $this->getSubManagerBase( 'stock', 'type/'.$manager, $name ); |
|
287 | 287 | } |
288 | 288 | |
289 | 289 |
@@ -71,12 +71,12 @@ |
||
71 | 71 | |
72 | 72 | if( ctype_alnum( $name ) === false ) |
73 | 73 | { |
74 | - $classname = is_string( $name ) ? '\\Aimeos\\MShop\\Stock\\Manager\\' . $name : '<not a string>'; |
|
74 | + $classname = is_string( $name ) ? '\\Aimeos\\MShop\\Stock\\Manager\\'.$name : '<not a string>'; |
|
75 | 75 | throw new \Aimeos\MShop\Stock\Exception( sprintf( 'Invalid characters in class name "%1$s"', $classname ) ); |
76 | 76 | } |
77 | 77 | |
78 | 78 | $iface = '\\Aimeos\\MShop\\Stock\\Manager\\Iface'; |
79 | - $classname = '\\Aimeos\\MShop\\Stock\\Manager\\' . $name; |
|
79 | + $classname = '\\Aimeos\\MShop\\Stock\\Manager\\'.$name; |
|
80 | 80 | |
81 | 81 | $manager = self::createManagerBase( $context, $classname, $iface ); |
82 | 82 |
@@ -91,7 +91,7 @@ discard block |
||
91 | 91 | */ |
92 | 92 | public function setTypeId( $id ) |
93 | 93 | { |
94 | - if ( $id == $this->getTypeId() ) { return $this; } |
|
94 | + if( $id == $this->getTypeId() ) { return $this; } |
|
95 | 95 | |
96 | 96 | $this->values['stock.typeid'] = (int) $id; |
97 | 97 | $this->setModified(); |
@@ -189,7 +189,7 @@ discard block |
||
189 | 189 | { |
190 | 190 | if( $backdate == $this->getDateBack() ) { return $this; } |
191 | 191 | |
192 | - $this->values['stock.backdate'] = $this->checkDateFormat( $backdate );; |
|
192 | + $this->values['stock.backdate'] = $this->checkDateFormat( $backdate ); ; |
|
193 | 193 | $this->setModified(); |
194 | 194 | |
195 | 195 | return $this; |