Skip to content

Commit b26e352

Browse files
committed
Updated phpstan from 0.12.28 to 0.12.31 and fixed the new errors it reported.
1 parent 395446f commit b26e352

File tree

5 files changed

+53
-5
lines changed

5 files changed

+53
-5
lines changed

Model/ResourceModel/Catalog/Category/UrlKeyCollection.php

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,9 @@ public function createDataObject(array $arguments = []): DataObject
9191
return $obj;
9292
}
9393

94+
/**
95+
* @return UrlKeyCollection<DataObject>
96+
*/
9497
public function setItems(array $items = null)
9598
{
9699
throw new LocalizedException(__('Not implemented: setItems!'));
@@ -101,6 +104,9 @@ public function getAggregations()
101104
throw new LocalizedException(__('Not implemented: getAggregations!'));
102105
}
103106

107+
/**
108+
* @return UrlKeyCollection<DataObject>
109+
*/
104110
public function setAggregations($aggregations)
105111
{
106112
throw new LocalizedException(__('Not implemented: setAggregations!'));
@@ -111,6 +117,9 @@ public function getSearchCriteria()
111117
throw new LocalizedException(__('Not implemented: getSearchCriteria!'));
112118
}
113119

120+
/**
121+
* @return UrlKeyCollection<DataObject>
122+
*/
114123
public function setSearchCriteria(SearchCriteriaInterface $searchCriteria)
115124
{
116125
throw new LocalizedException(__('Not implemented: setSearchCriteria!'));
@@ -121,6 +130,9 @@ public function getTotalCount()
121130
return $this->getSize();
122131
}
123132

133+
/**
134+
* @return UrlKeyCollection<DataObject>
135+
*/
124136
public function setTotalCount($totalCount)
125137
{
126138
throw new LocalizedException(__('Not implemented: setTotalCount!'));

Model/ResourceModel/Catalog/Category/UrlPathCollection.php

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,9 @@ public function createDataObject(array $arguments = []): DataObject
9191
return $obj;
9292
}
9393

94+
/**
95+
* @return UrlPathCollection<DataObject>
96+
*/
9497
public function setItems(array $items = null)
9598
{
9699
throw new LocalizedException(__('Not implemented: setItems!'));
@@ -101,6 +104,9 @@ public function getAggregations()
101104
throw new LocalizedException(__('Not implemented: getAggregations!'));
102105
}
103106

107+
/**
108+
* @return UrlPathCollection<DataObject>
109+
*/
104110
public function setAggregations($aggregations)
105111
{
106112
throw new LocalizedException(__('Not implemented: setAggregations!'));
@@ -111,6 +117,9 @@ public function getSearchCriteria()
111117
throw new LocalizedException(__('Not implemented: getSearchCriteria!'));
112118
}
113119

120+
/**
121+
* @return UrlPathCollection<DataObject>
122+
*/
114123
public function setSearchCriteria(SearchCriteriaInterface $searchCriteria)
115124
{
116125
throw new LocalizedException(__('Not implemented: setSearchCriteria!'));
@@ -121,6 +130,9 @@ public function getTotalCount()
121130
return $this->getSize();
122131
}
123132

133+
/**
134+
* @return UrlPathCollection<DataObject>
135+
*/
124136
public function setTotalCount($totalCount)
125137
{
126138
throw new LocalizedException(__('Not implemented: setTotalCount!'));

Model/ResourceModel/Catalog/Product/UrlKeyCollection.php

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,9 @@ public function createDataObject(array $arguments = []): DataObject
9191
return $obj;
9292
}
9393

94+
/**
95+
* @return UrlKeyCollection<DataObject>
96+
*/
9497
public function setItems(array $items = null)
9598
{
9699
throw new LocalizedException(__('Not implemented: setItems!'));
@@ -101,6 +104,9 @@ public function getAggregations()
101104
throw new LocalizedException(__('Not implemented: getAggregations!'));
102105
}
103106

107+
/**
108+
* @return UrlKeyCollection<DataObject>
109+
*/
104110
public function setAggregations($aggregations)
105111
{
106112
throw new LocalizedException(__('Not implemented: setAggregations!'));
@@ -111,6 +117,9 @@ public function getSearchCriteria()
111117
throw new LocalizedException(__('Not implemented: getSearchCriteria!'));
112118
}
113119

120+
/**
121+
* @return UrlKeyCollection<DataObject>
122+
*/
114123
public function setSearchCriteria(SearchCriteriaInterface $searchCriteria)
115124
{
116125
throw new LocalizedException(__('Not implemented: setSearchCriteria!'));
@@ -121,6 +130,9 @@ public function getTotalCount()
121130
return $this->getSize();
122131
}
123132

133+
/**
134+
* @return UrlKeyCollection<DataObject>
135+
*/
124136
public function setTotalCount($totalCount)
125137
{
126138
throw new LocalizedException(__('Not implemented: setTotalCount!'));

Model/ResourceModel/Catalog/Product/UrlPathCollection.php

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,9 @@ public function createDataObject(array $arguments = []): DataObject
9191
return $obj;
9292
}
9393

94+
/**
95+
* @return UrlPathCollection<DataObject>
96+
*/
9497
public function setItems(array $items = null)
9598
{
9699
throw new LocalizedException(__('Not implemented: setItems!'));
@@ -101,6 +104,9 @@ public function getAggregations()
101104
throw new LocalizedException(__('Not implemented: getAggregations!'));
102105
}
103106

107+
/**
108+
* @return UrlPathCollection<DataObject>
109+
*/
104110
public function setAggregations($aggregations)
105111
{
106112
throw new LocalizedException(__('Not implemented: setAggregations!'));
@@ -111,6 +117,9 @@ public function getSearchCriteria()
111117
throw new LocalizedException(__('Not implemented: getSearchCriteria!'));
112118
}
113119

120+
/**
121+
* @return UrlPathCollection<DataObject>
122+
*/
114123
public function setSearchCriteria(SearchCriteriaInterface $searchCriteria)
115124
{
116125
throw new LocalizedException(__('Not implemented: setSearchCriteria!'));
@@ -121,6 +130,9 @@ public function getTotalCount()
121130
return $this->getSize();
122131
}
123132

133+
/**
134+
* @return UrlPathCollection<DataObject>
135+
*/
124136
public function setTotalCount($totalCount)
125137
{
126138
throw new LocalizedException(__('Not implemented: setTotalCount!'));

composer.lock

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)