@@ -277,27 +277,27 @@ discard block |
||
| 277 | 277 | */ |
| 278 | 278 | |
| 279 | 279 | /** mshop/coupon/manager/submanagers |
| 280 | - * List of manager names that can be instantiated by the coupon manager |
|
| 281 | - * |
|
| 282 | - * Managers provide a generic interface to the underlying storage. |
|
| 283 | - * Each manager has or can have sub-managers caring about particular |
|
| 284 | - * aspects. Each of these sub-managers can be instantiated by its |
|
| 285 | - * parent manager using the getSubManager() method. |
|
| 286 | - * |
|
| 287 | - * The search keys from sub-managers can be normally used in the |
|
| 288 | - * manager as well. It allows you to search for items of the manager |
|
| 289 | - * using the search keys of the sub-managers to further limit the |
|
| 290 | - * retrieved list of items. |
|
| 291 | - * |
|
| 292 | - * @param array List of sub-manager names |
|
| 293 | - * @since 2015.10 |
|
| 294 | - */ |
|
| 280 | + * List of manager names that can be instantiated by the coupon manager |
|
| 281 | + * |
|
| 282 | + * Managers provide a generic interface to the underlying storage. |
|
| 283 | + * Each manager has or can have sub-managers caring about particular |
|
| 284 | + * aspects. Each of these sub-managers can be instantiated by its |
|
| 285 | + * parent manager using the getSubManager() method. |
|
| 286 | + * |
|
| 287 | + * The search keys from sub-managers can be normally used in the |
|
| 288 | + * manager as well. It allows you to search for items of the manager |
|
| 289 | + * using the search keys of the sub-managers to further limit the |
|
| 290 | + * retrieved list of items. |
|
| 291 | + * |
|
| 292 | + * @param array List of sub-manager names |
|
| 293 | + * @since 2015.10 |
|
| 294 | + */ |
|
| 295 | 295 | |
| 296 | 296 | /** mshop/coupon/manager/insert/mysql |
| 297 | - * Inserts a new coupon record into the database table |
|
| 298 | - * |
|
| 299 | - * @see mshop/coupon/manager/insert/ansi |
|
| 300 | - */ |
|
| 297 | + * Inserts a new coupon record into the database table |
|
| 298 | + * |
|
| 299 | + * @see mshop/coupon/manager/insert/ansi |
|
| 300 | + */ |
|
| 301 | 301 | |
| 302 | 302 | /** mshop/coupon/manager/insert/ansi |
| 303 | 303 | * Inserts a new coupon record into the database table |
@@ -329,10 +329,10 @@ discard block |
||
| 329 | 329 | */ |
| 330 | 330 | |
| 331 | 331 | /** mshop/coupon/manager/update/mysql |
| 332 | - * Updates an existing coupon record in the database |
|
| 333 | - * |
|
| 334 | - * @see mshop/coupon/manager/update/ansi |
|
| 335 | - */ |
|
| 332 | + * Updates an existing coupon record in the database |
|
| 333 | + * |
|
| 334 | + * @see mshop/coupon/manager/update/ansi |
|
| 335 | + */ |
|
| 336 | 336 | |
| 337 | 337 | /** mshop/coupon/manager/update/ansi |
| 338 | 338 | * Updates an existing coupon record in the database |
@@ -211,7 +211,7 @@ discard block |
||
| 211 | 211 | |
| 212 | 212 | $keys = (array) $keys; |
| 213 | 213 | $acols = $cols = $expr = []; |
| 214 | - $search = (clone $search)->slice( $search->getOffset(), min( $search->getLimit(), $limit ) ); |
|
| 214 | + $search = ( clone $search )->slice( $search->getOffset(), min( $search->getLimit(), $limit ) ); |
|
| 215 | 215 | |
| 216 | 216 | foreach( $keys as $string ) |
| 217 | 217 | { |
@@ -797,7 +797,7 @@ discard block |
||
| 797 | 797 | $icode = $entry->getInternalCode(); |
| 798 | 798 | |
| 799 | 799 | if( !( str_contains( $icode, '"' ) ) ) { |
| 800 | - $icode = $alias .'."' . $icode . '"'; |
|
| 800 | + $icode = $alias . '."' . $icode . '"'; |
|
| 801 | 801 | } |
| 802 | 802 | |
| 803 | 803 | $cols[] = $icode . ' AS "' . $entry->getCode() . '"'; |