@@ -259,7 +259,7 @@ discard block |
||
259 | 259 | /** |
260 | 260 | * Deletes the item specified by its ID. |
261 | 261 | * |
262 | - * @param mixed $id ID of the item object |
|
262 | + * @param integer $id ID of the item object |
|
263 | 263 | */ |
264 | 264 | public function deleteItem( $id ) |
265 | 265 | { |
@@ -282,7 +282,7 @@ discard block |
||
282 | 282 | /** |
283 | 283 | * Removes multiple items specified by ids in the array. |
284 | 284 | * |
285 | - * @param array $ids List of IDs |
|
285 | + * @param integer[] $ids List of IDs |
|
286 | 286 | */ |
287 | 287 | public function deleteItems( array $ids ) |
288 | 288 | { |
@@ -460,6 +460,7 @@ discard block |
||
460 | 460 | * @param \Aimeos\MW\Criteria\Iface $search Search criteria object |
461 | 461 | * @param string[] $ref List of domains to fetch list items and referenced items for |
462 | 462 | * @param integer|null &$total Number of items that are available in total |
463 | + * @param integer $total |
|
463 | 464 | * @return array List of items implementing \Aimeos\MShop\Common\Item\Iface |
464 | 465 | */ |
465 | 466 | public function searchItems( \Aimeos\MW\Criteria\Iface $search, array $ref = [], &$total = null ) |
@@ -42,7 +42,7 @@ discard block |
||
42 | 42 | * Injects the outer object into the decorator stack |
43 | 43 | * |
44 | 44 | * @param \Aimeos\MShop\Plugin\Provider\Iface $object First object of the decorator stack |
45 | - * @return \Aimeos\MShop\Plugin\Provider\Iface Plugin object for chaining method calls |
|
45 | + * @return Base Plugin object for chaining method calls |
|
46 | 46 | */ |
47 | 47 | public function setObject( \Aimeos\MShop\Plugin\Provider\Iface $object ) |
48 | 48 | { |
@@ -81,7 +81,7 @@ discard block |
||
81 | 81 | * Returns the configuration value from the service item specified by its key. |
82 | 82 | * |
83 | 83 | * @param string $key Configuration key |
84 | - * @param mixed $default Default value if configuration key isn't available |
|
84 | + * @param boolean $default Default value if configuration key isn't available |
|
85 | 85 | * @return string|null Value from service item configuration |
86 | 86 | */ |
87 | 87 | protected function getConfigValue( $key, $default = null ) |
@@ -69,7 +69,7 @@ |
||
69 | 69 | * Injects the outmost object into the decorator stack |
70 | 70 | * |
71 | 71 | * @param \Aimeos\MShop\Plugin\Provider\Iface $object First object of the decorator stack |
72 | - * @return \Aimeos\MShop\Plugin\Provider\Iface Plugin object for chaining method calls |
|
72 | + * @return Base Plugin object for chaining method calls |
|
73 | 73 | */ |
74 | 74 | public function setObject( \Aimeos\MShop\Plugin\Provider\Iface $object ) |
75 | 75 | { |
@@ -29,7 +29,7 @@ discard block |
||
29 | 29 | public function register( \Aimeos\MW\Observer\Publisher\Iface $p ) |
30 | 30 | { |
31 | 31 | $class = get_class( $this->getProvider() ); |
32 | - $this->getContext()->getLogger()->log( 'Plugin::register: ' . $class, \Aimeos\MW\Logger\Base::DEBUG ); |
|
32 | + $this->getContext()->getLogger()->log( 'Plugin::register: '.$class, \Aimeos\MW\Logger\Base::DEBUG ); |
|
33 | 33 | |
34 | 34 | $this->getProvider()->register( $p ); |
35 | 35 | } |
@@ -47,12 +47,12 @@ discard block |
||
47 | 47 | $class = get_class( $this->getProvider() ); |
48 | 48 | $payload = ( is_object( $value ) ? get_class( $value ) : ( is_scalar( $value ) ? $value : '' ) ); |
49 | 49 | |
50 | - $msg = 'Plugin::update:before: ' . $class . ', action: ' . $action . ', value: ' . $payload; |
|
50 | + $msg = 'Plugin::update:before: '.$class.', action: '.$action.', value: '.$payload; |
|
51 | 51 | $this->getContext()->getLogger()->log( $msg, \Aimeos\MW\Logger\Base::DEBUG ); |
52 | 52 | |
53 | 53 | $result = $this->getProvider()->update( $order, $action, $value ); |
54 | 54 | |
55 | - $msg = 'Plugin::update:after: ' . $class . ', action: ' . $action . ', value: ' . $payload; |
|
55 | + $msg = 'Plugin::update:after: '.$class.', action: '.$action.', value: '.$payload; |
|
56 | 56 | $this->getContext()->getLogger()->log( $msg, \Aimeos\MW\Logger\Base::DEBUG ); |
57 | 57 | |
58 | 58 | return $result; |
@@ -215,7 +215,7 @@ discard block |
||
215 | 215 | { |
216 | 216 | $path = 'mshop/plugin/manager/submanagers'; |
217 | 217 | |
218 | - return $this->getResourceTypeBase( 'plugin', $path, array( 'type'), $withsub ); |
|
218 | + return $this->getResourceTypeBase( 'plugin', $path, array( 'type' ), $withsub ); |
|
219 | 219 | } |
220 | 220 | |
221 | 221 | |
@@ -303,7 +303,7 @@ discard block |
||
303 | 303 | } |
304 | 304 | |
305 | 305 | $interface = '\\Aimeos\\MShop\\Plugin\\Provider\\Factory\\Iface'; |
306 | - $classname = '\\Aimeos\\MShop\\Plugin\\Provider\\' . $type . '\\' . $provider; |
|
306 | + $classname = '\\Aimeos\\MShop\\Plugin\\Provider\\'.$type.'\\'.$provider; |
|
307 | 307 | |
308 | 308 | if( class_exists( $classname ) === false ) { |
309 | 309 | throw new \Aimeos\MShop\Plugin\Exception( sprintf( 'Class "%1$s" not available', $classname ) ); |
@@ -341,7 +341,7 @@ discard block |
||
341 | 341 | * @category Developer |
342 | 342 | * @see mshop/plugin/provider/order/decorators |
343 | 343 | */ |
344 | - $decorators = $config->get( 'mshop/plugin/provider/' . $item->getType() . '/decorators', [] ); |
|
344 | + $decorators = $config->get( 'mshop/plugin/provider/'.$item->getType().'/decorators', [] ); |
|
345 | 345 | |
346 | 346 | $provider = $this->addPluginDecorators( $item, $provider, $names ); |
347 | 347 | $provider = $this->addPluginDecorators( $item, $provider, $decorators ); |
@@ -34,7 +34,7 @@ discard block |
||
34 | 34 | */ |
35 | 35 | public function updateListItems( \Aimeos\MShop\Common\Item\ListRef\Iface $item, array $map, $domain, $type ) |
36 | 36 | { |
37 | - $listManager = $this->getObject()->getSubManager( 'lists' ); |
|
37 | + $listManager = $this->getObject()->getSubManager( 'lists' ); |
|
38 | 38 | |
39 | 39 | if( !isset( $this->typeIds[$domain][$type] ) ) |
40 | 40 | { |
@@ -159,8 +159,8 @@ discard block |
||
159 | 159 | $search = $manager->createSearch( true ); |
160 | 160 | |
161 | 161 | $expr = array( |
162 | - $search->compare( '==', $prefix . '.lists.parentid', $ids ), |
|
163 | - $search->compare( '==', $prefix . '.lists.domain', $domains ), |
|
162 | + $search->compare( '==', $prefix.'.lists.parentid', $ids ), |
|
163 | + $search->compare( '==', $prefix.'.lists.domain', $domains ), |
|
164 | 164 | $search->getConditions(), |
165 | 165 | ); |
166 | 166 | |
@@ -190,7 +190,7 @@ discard block |
||
190 | 190 | |
191 | 191 | $search = $manager->createSearch( true ); |
192 | 192 | $expr = array( |
193 | - $search->compare( '==', str_replace( '/', '.', $domain ) . '.id', array_keys( $list ) ), |
|
193 | + $search->compare( '==', str_replace( '/', '.', $domain ).'.id', array_keys( $list ) ), |
|
194 | 194 | $search->getConditions(), |
195 | 195 | ); |
196 | 196 | $search->setConditions( $search->combine( '&&', $expr ) ); |
@@ -63,7 +63,7 @@ discard block |
||
63 | 63 | public function aggregate( \Aimeos\MW\Criteria\Iface $search, $key ) |
64 | 64 | { |
65 | 65 | $required = array( trim( $this->prefix, '.' ) ); |
66 | - return $this->aggregateBase( $search, $key, $this->getConfigPath() . 'aggregate', $required ); |
|
66 | + return $this->aggregateBase( $search, $key, $this->getConfigPath().'aggregate', $required ); |
|
67 | 67 | } |
68 | 68 | |
69 | 69 | |
@@ -75,7 +75,7 @@ discard block |
||
75 | 75 | public function createItem() |
76 | 76 | { |
77 | 77 | $values = array( |
78 | - $this->prefix . 'siteid' => $this->getContext()->getLocale()->getSiteId() |
|
78 | + $this->prefix.'siteid' => $this->getContext()->getLocale()->getSiteId() |
|
79 | 79 | ); |
80 | 80 | return $this->createItemBase( $values ); |
81 | 81 | |
@@ -112,7 +112,7 @@ discard block |
||
112 | 112 | } |
113 | 113 | |
114 | 114 | $time = date( 'Y-m-d H:i:s' ); |
115 | - $statement = $this->getCachedStatement( $conn, $this->getConfigPath() . $type ); |
|
115 | + $statement = $this->getCachedStatement( $conn, $this->getConfigPath().$type ); |
|
116 | 116 | |
117 | 117 | $statement->bind( 1, $item->getParentId(), \Aimeos\MW\DB\Statement\Base::PARAM_INT ); |
118 | 118 | $statement->bind( 2, $context->getLocale()->getSiteId(), \Aimeos\MW\DB\Statement\Base::PARAM_INT ); |
@@ -140,7 +140,7 @@ discard block |
||
140 | 140 | if( $fetch === true ) |
141 | 141 | { |
142 | 142 | if( $id === null ) { |
143 | - $path = $this->getConfigPath() . 'newid'; |
|
143 | + $path = $this->getConfigPath().'newid'; |
|
144 | 144 | $item->setId( $this->newId( $conn, $path ) ); |
145 | 145 | } else { |
146 | 146 | $item->setId( $id ); // modified false |
@@ -164,7 +164,7 @@ discard block |
||
164 | 164 | */ |
165 | 165 | public function deleteItems( array $ids ) |
166 | 166 | { |
167 | - $this->deleteItemsBase( $ids, $this->getConfigPath() . 'delete' ); |
|
167 | + $this->deleteItemsBase( $ids, $this->getConfigPath().'delete' ); |
|
168 | 168 | } |
169 | 169 | |
170 | 170 | |
@@ -236,7 +236,7 @@ discard block |
||
236 | 236 | { |
237 | 237 | $newpos = $pos; |
238 | 238 | |
239 | - $sql = $this->getSqlConfig( $cfgPath . 'move' ); |
|
239 | + $sql = $this->getSqlConfig( $cfgPath.'move' ); |
|
240 | 240 | |
241 | 241 | $stmt = $conn->create( $sql ); |
242 | 242 | $stmt->bind( 1, +1, \Aimeos\MW\DB\Statement\Base::PARAM_INT ); |
@@ -252,7 +252,7 @@ discard block |
||
252 | 252 | } |
253 | 253 | else |
254 | 254 | { |
255 | - $sql = $this->getSqlConfig( $cfgPath . 'getposmax' ); |
|
255 | + $sql = $this->getSqlConfig( $cfgPath.'getposmax' ); |
|
256 | 256 | |
257 | 257 | $stmt = $conn->create( $sql ); |
258 | 258 | |
@@ -270,7 +270,7 @@ discard block |
||
270 | 270 | } |
271 | 271 | } |
272 | 272 | |
273 | - $sql = $this->getSqlConfig( $cfgPath . 'updatepos' ); |
|
273 | + $sql = $this->getSqlConfig( $cfgPath.'updatepos' ); |
|
274 | 274 | |
275 | 275 | $stmt = $conn->create( $sql ); |
276 | 276 | $stmt->bind( 1, $newpos, \Aimeos\MW\DB\Statement\Base::PARAM_INT ); |
@@ -286,7 +286,7 @@ discard block |
||
286 | 286 | |
287 | 287 | if( $oldpos > 0 ) |
288 | 288 | { |
289 | - $sql = $this->getSqlConfig( $cfgPath . 'move' ); |
|
289 | + $sql = $this->getSqlConfig( $cfgPath.'move' ); |
|
290 | 290 | |
291 | 291 | $stmt = $conn->create( $sql ); |
292 | 292 | $stmt->bind( 1, -1, \Aimeos\MW\DB\Statement\Base::PARAM_INT ); |
@@ -336,8 +336,8 @@ discard block |
||
336 | 336 | } |
337 | 337 | |
338 | 338 | $level = \Aimeos\MShop\Locale\Manager\Base::SITE_ALL; |
339 | - $cfgPathSearch = $this->getConfigPath() . 'search'; |
|
340 | - $cfgPathCount = $this->getConfigPath() . 'count'; |
|
339 | + $cfgPathSearch = $this->getConfigPath().'search'; |
|
340 | + $cfgPathCount = $this->getConfigPath().'count'; |
|
341 | 341 | |
342 | 342 | $name = trim( $this->prefix, '.' ); |
343 | 343 | $required = array( $name ); |
@@ -346,12 +346,12 @@ discard block |
||
346 | 346 | |
347 | 347 | while( ( $row = $results->fetch() ) !== false ) |
348 | 348 | { |
349 | - if( ( $row[$this->prefix . 'config'] = json_decode( $row[$this->prefix . 'config'], true ) ) === null ) { |
|
350 | - $row[$this->prefix . 'config'] = []; |
|
349 | + if( ( $row[$this->prefix.'config'] = json_decode( $row[$this->prefix.'config'], true ) ) === null ) { |
|
350 | + $row[$this->prefix.'config'] = []; |
|
351 | 351 | } |
352 | 352 | |
353 | - $map[$row[$this->prefix . 'id']] = $row; |
|
354 | - $typeIds[$row[$this->prefix . 'typeid']] = null; |
|
353 | + $map[$row[$this->prefix.'id']] = $row; |
|
354 | + $typeIds[$row[$this->prefix.'typeid']] = null; |
|
355 | 355 | } |
356 | 356 | |
357 | 357 | $dbm->release( $conn, $dbname ); |
@@ -366,19 +366,19 @@ discard block |
||
366 | 366 | { |
367 | 367 | $typeManager = $this->getObject()->getSubManager( 'type' ); |
368 | 368 | $typeSearch = $typeManager->createSearch(); |
369 | - $typeSearch->setConditions( $typeSearch->compare( '==', $name . '.type.id', array_keys( $typeIds ) ) ); |
|
369 | + $typeSearch->setConditions( $typeSearch->compare( '==', $name.'.type.id', array_keys( $typeIds ) ) ); |
|
370 | 370 | $typeSearch->setSlice( 0, $search->getSliceSize() ); |
371 | 371 | $typeItems = $typeManager->searchItems( $typeSearch ); |
372 | 372 | |
373 | 373 | foreach( $map as $id => $row ) |
374 | 374 | { |
375 | - if( isset( $typeItems[$row[$this->prefix . 'typeid']] ) ) |
|
375 | + if( isset( $typeItems[$row[$this->prefix.'typeid']] ) ) |
|
376 | 376 | { |
377 | - $row[$this->prefix . 'type'] = $typeItems[$row[$this->prefix . 'typeid']]->getCode(); |
|
378 | - $row[$this->prefix . 'typename'] = $typeItems[$row[$this->prefix . 'typeid']]->getName(); |
|
377 | + $row[$this->prefix.'type'] = $typeItems[$row[$this->prefix.'typeid']]->getCode(); |
|
378 | + $row[$this->prefix.'typename'] = $typeItems[$row[$this->prefix.'typeid']]->getName(); |
|
379 | 379 | } |
380 | 380 | |
381 | - $items[$row[$this->prefix . 'id']] = $this->createItemBase( $row ); |
|
381 | + $items[$row[$this->prefix.'id']] = $this->createItemBase( $row ); |
|
382 | 382 | } |
383 | 383 | } |
384 | 384 | |
@@ -417,8 +417,8 @@ discard block |
||
417 | 417 | } |
418 | 418 | |
419 | 419 | $level = \Aimeos\MShop\Locale\Manager\Base::SITE_ALL; |
420 | - $cfgPathSearch = $this->getConfigPath() . 'search'; |
|
421 | - $cfgPathCount = $this->getConfigPath() . 'count'; |
|
420 | + $cfgPathSearch = $this->getConfigPath().'search'; |
|
421 | + $cfgPathCount = $this->getConfigPath().'count'; |
|
422 | 422 | |
423 | 423 | $name = trim( $this->prefix, '.' ); |
424 | 424 | $required = array( $name ); |
@@ -426,7 +426,7 @@ discard block |
||
426 | 426 | $results = $this->searchItemsBase( $conn, $search, $cfgPathSearch, $cfgPathCount, $required, $total, $level ); |
427 | 427 | |
428 | 428 | while( ( $row = $results->fetch() ) !== false ) { |
429 | - $map[$row[$this->prefix . 'domain']][] = $row[$this->prefix . 'refid']; |
|
429 | + $map[$row[$this->prefix.'domain']][] = $row[$this->prefix.'refid']; |
|
430 | 430 | } |
431 | 431 | |
432 | 432 | $dbm->release( $conn, $dbname ); |
@@ -444,7 +444,7 @@ discard block |
||
444 | 444 | |
445 | 445 | $search = $manager->createSearch( true ); |
446 | 446 | $expr = array( |
447 | - $search->compare( '==', str_replace( '/', '.', $domain ) . '.id', $list ), |
|
447 | + $search->compare( '==', str_replace( '/', '.', $domain ).'.id', $list ), |
|
448 | 448 | $search->getConditions(), |
449 | 449 | ); |
450 | 450 | $search->setConditions( $search->combine( '&&', $expr ) ); |
@@ -476,13 +476,13 @@ discard block |
||
476 | 476 | $expr[] = $object->getConditions(); |
477 | 477 | |
478 | 478 | $exprTwo = []; |
479 | - $exprTwo[] = $object->compare( '<=', $prefix . '.datestart', $curDate ); |
|
480 | - $exprTwo[] = $object->compare( '==', $prefix . '.datestart', null ); |
|
479 | + $exprTwo[] = $object->compare( '<=', $prefix.'.datestart', $curDate ); |
|
480 | + $exprTwo[] = $object->compare( '==', $prefix.'.datestart', null ); |
|
481 | 481 | $expr[] = $object->combine( '||', $exprTwo ); |
482 | 482 | |
483 | 483 | $exprTwo = []; |
484 | - $exprTwo[] = $object->compare( '>=', $prefix . '.dateend', $curDate ); |
|
485 | - $exprTwo[] = $object->compare( '==', $prefix . '.dateend', null ); |
|
484 | + $exprTwo[] = $object->compare( '>=', $prefix.'.dateend', $curDate ); |
|
485 | + $exprTwo[] = $object->compare( '==', $prefix.'.dateend', null ); |
|
486 | 486 | $expr[] = $object->combine( '||', $exprTwo ); |
487 | 487 | |
488 | 488 | $object->setConditions( $object->combine( '&&', $expr ) ); |
@@ -503,7 +503,7 @@ discard block |
||
503 | 503 | */ |
504 | 504 | public function getSubManager( $manager, $name = null ) |
505 | 505 | { |
506 | - return $this->getSubManagerBase( 'common', 'lists/' . $manager, $name ); |
|
506 | + return $this->getSubManagerBase( 'common', 'lists/'.$manager, $name ); |
|
507 | 507 | } |
508 | 508 | |
509 | 509 |
@@ -57,7 +57,7 @@ discard block |
||
57 | 57 | throw new \Aimeos\MShop\Exception( sprintf( 'Invalid characters in class name "%1$s"', $name ) ); |
58 | 58 | } |
59 | 59 | |
60 | - $classname = $classprefix . $name; |
|
60 | + $classname = $classprefix.$name; |
|
61 | 61 | |
62 | 62 | if( class_exists( $classname ) === false ) { |
63 | 63 | throw new \Aimeos\MShop\Exception( sprintf( 'Class "%1$s" not available', $classname ) ); |
@@ -110,7 +110,7 @@ discard block |
||
110 | 110 | * @category Developer |
111 | 111 | */ |
112 | 112 | $decorators = $config->get( 'mshop/common/manager/decorators/default', [] ); |
113 | - $excludes = $config->get( 'mshop/' . $domain . '/manager/decorators/excludes', [] ); |
|
113 | + $excludes = $config->get( 'mshop/'.$domain.'/manager/decorators/excludes', [] ); |
|
114 | 114 | |
115 | 115 | foreach( $decorators as $key => $name ) |
116 | 116 | { |
@@ -123,11 +123,11 @@ discard block |
||
123 | 123 | $manager = self::addDecorators( $context, $manager, $decorators, $classprefix ); |
124 | 124 | |
125 | 125 | $classprefix = '\\Aimeos\\MShop\\Common\\Manager\\Decorator\\'; |
126 | - $decorators = $config->get( 'mshop/' . $domain . '/manager/decorators/global', [] ); |
|
126 | + $decorators = $config->get( 'mshop/'.$domain.'/manager/decorators/global', [] ); |
|
127 | 127 | $manager = self::addDecorators( $context, $manager, $decorators, $classprefix ); |
128 | 128 | |
129 | - $classprefix = '\\Aimeos\\MShop\\' . ucfirst( $domain ) . '\\Manager\\Decorator\\'; |
|
130 | - $decorators = $config->get( 'mshop/' . $domain . '/manager/decorators/local', [] ); |
|
129 | + $classprefix = '\\Aimeos\\MShop\\'.ucfirst( $domain ).'\\Manager\\Decorator\\'; |
|
130 | + $decorators = $config->get( 'mshop/'.$domain.'/manager/decorators/local', [] ); |
|
131 | 131 | $manager = self::addDecorators( $context, $manager, $decorators, $classprefix ); |
132 | 132 | |
133 | 133 | return $manager->setObject( $manager ); |
@@ -97,7 +97,7 @@ discard block |
||
97 | 97 | $currency = $locale->getCurrencyId(); |
98 | 98 | $language = $locale->getLanguageId(); |
99 | 99 | $sitecode = $locale->getSite()->getCode(); |
100 | - $key = 'aimeos/basket/content-' . $sitecode . '-' . $language . '-' . $currency . '-' . strval( $type ); |
|
100 | + $key = 'aimeos/basket/content-'.$sitecode.'-'.$language.'-'.$currency.'-'.strval( $type ); |
|
101 | 101 | |
102 | 102 | if( ( $serorder = $session->get( $key ) ) === null ) { |
103 | 103 | return $this->getObject()->createItem(); |
@@ -133,7 +133,7 @@ discard block |
||
133 | 133 | $currency = $locale->getCurrencyId(); |
134 | 134 | $language = $locale->getLanguageId(); |
135 | 135 | $sitecode = $locale->getSite()->getCode(); |
136 | - $key = 'aimeos/basket/lock-' . $sitecode . '-' . $language . '-' . $currency . '-' . strval( $type ); |
|
136 | + $key = 'aimeos/basket/lock-'.$sitecode.'-'.$language.'-'.$currency.'-'.strval( $type ); |
|
137 | 137 | |
138 | 138 | if( ( $value = $session->get( $key ) ) !== null ) { |
139 | 139 | return (int) $value; |
@@ -157,7 +157,7 @@ discard block |
||
157 | 157 | $currency = $locale->getCurrencyId(); |
158 | 158 | $language = $locale->getLanguageId(); |
159 | 159 | $sitecode = $locale->getSite()->getCode(); |
160 | - $key = 'aimeos/basket/content-' . $sitecode . '-' . $language . '-' . $currency . '-' . strval( $type ); |
|
160 | + $key = 'aimeos/basket/content-'.$sitecode.'-'.$language.'-'.$currency.'-'.strval( $type ); |
|
161 | 161 | |
162 | 162 | $session->set( $key, serialize( clone $order ) ); |
163 | 163 | } |
@@ -181,7 +181,7 @@ discard block |
||
181 | 181 | $currency = $locale->getCurrencyId(); |
182 | 182 | $language = $locale->getLanguageId(); |
183 | 183 | $sitecode = $locale->getSite()->getCode(); |
184 | - $key = 'aimeos/basket/lock-' . $sitecode . '-' . $language . '-' . $currency . '-' . strval( $type ); |
|
184 | + $key = 'aimeos/basket/lock-'.$sitecode.'-'.$language.'-'.$currency.'-'.strval( $type ); |
|
185 | 185 | |
186 | 186 | $session->set( $key, strval( $lock ) ); |
187 | 187 | } |