File tree 36 files changed +91
-156
lines changed
Reports/Model/ResourceModel
Customer/Totals/Collection 36 files changed +91
-156
lines changed Original file line number Diff line number Diff line change 1
1
<?php
2
2
/**
3
- * Copyright © Magento, Inc. All rights reserved.
4
- * See COPYING.txt for license details .
3
+ * Copyright 2011 Adobe
4
+ * All Rights Reserved .
5
5
*/
6
6
7
7
/**
8
8
* Customers New Accounts Report collection
9
- *
10
- * @author Magento Core Team <core@magentocommerce.com>
11
9
*/
12
10
namespace Magento \Reports \Model \ResourceModel \Customer \Totals \Collection ;
13
11
Original file line number Diff line number Diff line change 1
1
<?php
2
2
/**
3
- * Copyright © Magento, Inc. All rights reserved.
4
- * See COPYING.txt for license details .
3
+ * Copyright 2011 Adobe
4
+ * All Rights Reserved .
5
5
*/
6
6
7
7
/**
8
8
* Report event collection
9
- *
10
- * @author Magento Core Team <core@magentocommerce.com>
11
9
*/
12
10
namespace Magento \Reports \Model \ResourceModel \Event ;
13
11
18
16
class Collection extends \Magento \Framework \Model \ResourceModel \Db \Collection \AbstractCollection
19
17
{
20
18
/**
21
- * Store Ids
22
- *
23
19
* @var array
24
20
*/
25
21
protected $ _storeIds ;
@@ -36,8 +32,8 @@ protected function _construct()
36
32
37
33
/**
38
34
* Add store ids filter
39
- * @codeCoverageIgnore
40
35
*
36
+ * @codeCoverageIgnore
41
37
* @param array $storeIds
42
38
* @return $this
43
39
*/
Original file line number Diff line number Diff line change 1
1
<?php
2
2
/**
3
- * Copyright © Magento, Inc. All rights reserved.
4
- * See COPYING.txt for license details .
3
+ * Copyright 2011 Adobe
4
+ * All Rights Reserved .
5
5
*/
6
6
7
7
/**
8
8
* Report event type resource model
9
- *
10
- * @author Magento Core Team <core@magentocommerce.com>
11
9
*/
12
10
namespace Magento \Reports \Model \ResourceModel \Event ;
13
11
Original file line number Diff line number Diff line change 1
1
<?php
2
2
/**
3
- * Copyright © Magento, Inc. All rights reserved.
4
- * See COPYING.txt for license details .
3
+ * Copyright 2011 Adobe
4
+ * All Rights Reserved .
5
5
*/
6
6
7
7
/**
8
8
* Report event types collection
9
- *
10
- * @author Magento Core Team <core@magentocommerce.com>
11
9
*/
12
10
namespace Magento \Reports \Model \ResourceModel \Event \Type ;
13
11
Original file line number Diff line number Diff line change 1
1
<?php
2
2
/**
3
- * Copyright © Magento, Inc. All rights reserved.
4
- * See COPYING.txt for license details .
3
+ * Copyright 2011 Adobe
4
+ * All Rights Reserved .
5
5
*/
6
6
7
7
/**
8
8
* Reports Mysql resource helper model
9
- *
10
- * @author Magento Core Team <core@magentocommerce.com>
11
9
*/
12
10
namespace Magento \Reports \Model \ResourceModel ;
13
11
Original file line number Diff line number Diff line change 1
1
<?php
2
2
/**
3
- * Copyright © Magento, Inc. All rights reserved.
4
- * See COPYING.txt for license details .
3
+ * Copyright 2011 Adobe
4
+ * All Rights Reserved .
5
5
*/
6
6
7
7
namespace Magento \Reports \Model \ResourceModel \Product \Downloads ;
8
8
9
9
/**
10
10
* Product Downloads Report collection
11
11
*
12
- * @author Magento Core Team <core@magentocommerce.com>
13
- *
14
12
* @api
15
13
* @since 100.0.2
16
14
* @SuppressWarnings(PHPMD.CookieAndSessionMisuse)
Original file line number Diff line number Diff line change 1
1
<?php
2
2
/**
3
- * Copyright © Magento, Inc. All rights reserved.
4
- * See COPYING.txt for license details .
3
+ * Copyright 2013 Adobe
4
+ * All Rights Reserved .
5
5
*/
6
6
7
- /**
8
- * @author Magento Core Team <core@magentocommerce.com>
9
- */
10
7
namespace Magento \Reports \Model \ResourceModel \Product \Index \Collection ;
11
8
12
9
/**
21
18
abstract class AbstractCollection extends \Magento \Catalog \Model \ResourceModel \Product \Collection
22
19
{
23
20
/**
24
- * Customer id
25
- *
26
21
* @var null|int
27
22
*/
28
23
protected $ _customerId = null ;
Original file line number Diff line number Diff line change 1
1
<?php
2
2
/**
3
- * Copyright © Magento, Inc. All rights reserved.
4
- * See COPYING.txt for license details .
3
+ * Copyright 2011 Adobe
4
+ * All Rights Reserved .
5
5
*/
6
6
7
7
/**
8
8
* Reports Compared Product Index Resource Model
9
- *
10
- * @author Magento Core Team <core@magentocommerce.com>
11
9
*/
12
10
namespace Magento \Reports \Model \ResourceModel \Product \Index ;
13
11
Original file line number Diff line number Diff line change 1
1
<?php
2
2
/**
3
- * Copyright © Magento, Inc. All rights reserved.
4
- * See COPYING.txt for license details .
3
+ * Copyright 2011 Adobe
4
+ * All Rights Reserved .
5
5
*/
6
6
7
7
/**
8
8
* Reports Compared Product Index Resource Collection
9
- *
10
- * @author Magento Core Team <core@magentocommerce.com>
11
9
*/
12
10
namespace Magento \Reports \Model \ResourceModel \Product \Index \Compared ;
13
11
Original file line number Diff line number Diff line change 1
1
<?php
2
2
/**
3
- * Copyright © Magento, Inc. All rights reserved.
4
- * See COPYING.txt for license details .
3
+ * Copyright 2011 Adobe
4
+ * All Rights Reserved .
5
5
*/
6
6
7
7
/**
8
8
* Reports Viewed Product Index Resource Model
9
- *
10
- * @author Magento Core Team <core@magentocommerce.com>
11
9
*/
12
10
namespace Magento \Reports \Model \ResourceModel \Product \Index ;
13
11
Original file line number Diff line number Diff line change 1
1
<?php
2
2
/**
3
- * Copyright © Magento, Inc. All rights reserved.
4
- * See COPYING.txt for license details .
3
+ * Copyright 2011 Adobe
4
+ * All Rights Reserved .
5
5
*/
6
6
7
7
/**
8
8
* Reports Viewed Product Index Resource Collection
9
- *
10
- * @author Magento Core Team <core@magentocommerce.com>
11
9
*/
12
10
namespace Magento \Reports \Model \ResourceModel \Product \Index \Viewed ;
13
11
Original file line number Diff line number Diff line change 1
1
<?php
2
2
/**
3
- * Copyright © Magento, Inc. All rights reserved.
4
- * See COPYING.txt for license details .
3
+ * Copyright 2011 Adobe
4
+ * All Rights Reserved .
5
5
*/
6
6
7
7
/**
8
8
* Product Low Stock Report Collection
9
- *
10
- * @author Magento Core Team <core@magentocommerce.com>
11
9
*/
12
10
namespace Magento \Reports \Model \ResourceModel \Product \Lowstock ;
13
11
@@ -229,6 +227,7 @@ public function joinInventoryItem($fields = [])
229
227
}
230
228
231
229
if (!is_array ($ fields )) {
230
+ // phpstan:ignore
232
231
if (empty ($ fields )) {
233
232
$ fields = [];
234
233
} else {
Original file line number Diff line number Diff line change 1
1
<?php
2
2
/**
3
- * Copyright © Magento, Inc. All rights reserved.
4
- * See COPYING.txt for license details .
3
+ * Copyright 2011 Adobe
4
+ * All Rights Reserved .
5
5
*/
6
6
7
7
/**
8
8
* Report Sold Products collection
9
- *
10
- * @author Magento Core Team <core@magentocommerce.com>
11
9
*/
12
10
namespace Magento \Reports \Model \ResourceModel \Product \Sold ;
13
11
Original file line number Diff line number Diff line change 1
1
<?php
2
2
/**
3
- * Copyright © Magento, Inc. All rights reserved.
4
- * See COPYING.txt for license details .
3
+ * Copyright 2011 Adobe
4
+ * All Rights Reserved .
5
5
*/
6
6
7
7
/**
8
8
* Report Reviews collection
9
- *
10
- * @author Magento Core Team <core@magentocommerce.com>
11
9
*/
12
10
namespace Magento \Reports \Model \ResourceModel \Product \Sold \Collection ;
13
11
Original file line number Diff line number Diff line change 1
1
<?php
2
2
/**
3
- * Copyright © Magento, Inc. All rights reserved.
4
- * See COPYING.txt for license details .
3
+ * Copyright 2013 Adobe
4
+ * All Rights Reserved .
5
5
*/
6
6
7
7
/**
8
8
* Refresh Statistic Grid collection
9
- *
10
- * @author Magento Core Team <core@magentocommerce.com>
11
9
*/
12
10
namespace Magento \Reports \Model \ResourceModel \Refresh ;
13
11
Original file line number Diff line number Diff line change 1
1
<?php
2
2
/**
3
- * Copyright © Magento, Inc. All rights reserved.
4
- * See COPYING.txt for license details .
3
+ * Copyright 2011 Adobe
4
+ * All Rights Reserved .
5
5
*/
6
6
7
7
/**
8
8
* Report Reviews collection
9
- *
10
- * @author Magento Core Team <core@magentocommerce.com>
11
9
*/
12
10
namespace Magento \Reports \Model \ResourceModel \Report ;
13
11
Original file line number Diff line number Diff line change 1
1
<?php
2
2
/**
3
- * Copyright © Magento, Inc. All rights reserved.
4
- * See COPYING.txt for license details .
3
+ * Copyright 2012 Adobe
4
+ * All Rights Reserved .
5
5
*/
6
6
7
7
/**
8
8
* Most viewed product report aggregate resource model
9
- *
10
- * @author Magento Core Team <core@magentocommerce.com>
11
9
*/
12
10
namespace Magento \Reports \Model \ResourceModel \Report \Product ;
13
11
@@ -20,17 +18,17 @@ class Viewed extends \Magento\Sales\Model\ResourceModel\Report\AbstractReport
20
18
/**
21
19
* Aggregation key daily
22
20
*/
23
- const AGGREGATION_DAILY = 'report_viewed_product_aggregated_daily ' ;
21
+ public const AGGREGATION_DAILY = 'report_viewed_product_aggregated_daily ' ;
24
22
25
23
/**
26
24
* Aggregation key monthly
27
25
*/
28
- const AGGREGATION_MONTHLY = 'report_viewed_product_aggregated_monthly ' ;
26
+ public const AGGREGATION_MONTHLY = 'report_viewed_product_aggregated_monthly ' ;
29
27
30
28
/**
31
29
* Aggregation key yearly
32
30
*/
33
- const AGGREGATION_YEARLY = 'report_viewed_product_aggregated_yearly ' ;
31
+ public const AGGREGATION_YEARLY = 'report_viewed_product_aggregated_yearly ' ;
34
32
35
33
/**
36
34
* Product resource instance
Original file line number Diff line number Diff line change 1
1
<?php
2
2
/**
3
- * Copyright © Magento, Inc. All rights reserved.
4
- * See COPYING.txt for license details .
3
+ * Copyright 2011 Adobe
4
+ * All Rights Reserved .
5
5
*/
6
6
7
7
/**
8
8
* Report Reviews collection
9
- *
10
- * @author Magento Core Team <core@magentocommerce.com>
11
9
*/
12
10
namespace Magento \Reports \Model \ResourceModel \Review ;
13
11
@@ -47,7 +45,9 @@ public function addProductFilter($productId)
47
45
*/
48
46
public function resetSelect ()
49
47
{
48
+ // phpstan:ignore "Call to an undefined static method"
50
49
parent ::resetSelect ();
50
+ // phpstan:ignore
51
51
$ this ->_joinFields ();
52
52
return $ this ;
53
53
}
Original file line number Diff line number Diff line change 1
1
<?php
2
2
/**
3
- * Copyright © Magento, Inc. All rights reserved.
4
- * See COPYING.txt for license details .
3
+ * Copyright 2011 Adobe
4
+ * All Rights Reserved .
5
5
*/
6
6
7
7
/**
8
8
* Report Customers Review collection
9
- *
10
- * @author Magento Core Team <core@magentocommerce.com>
11
9
*/
12
10
namespace Magento \Reports \Model \ResourceModel \Review \Customer ;
13
11
Original file line number Diff line number Diff line change 1
1
<?php
2
2
/**
3
- * Copyright © Magento, Inc. All rights reserved.
4
- * See COPYING.txt for license details .
3
+ * Copyright 2011 Adobe
4
+ * All Rights Reserved .
5
5
*/
6
6
7
7
/**
8
8
* Report Products Review collection
9
- *
10
- * @author Magento Core Team <core@magentocommerce.com>
11
9
*/
12
10
namespace Magento \Reports \Model \ResourceModel \Review \Product ;
13
11
You can’t perform that action at this time.
0 commit comments