Skip to content

Commit 9dc3345

Browse files
committed
Fix pr
1 parent cdd19a6 commit 9dc3345

File tree

4 files changed

+50
-235
lines changed

4 files changed

+50
-235
lines changed

app/code/Magento/ReleaseNotification/Ui/DataProvider/NotificationDataProvider.php

Lines changed: 15 additions & 69 deletions
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,7 @@ public function __construct(
8282
}
8383

8484
/**
85-
* Get data
86-
*
87-
* @return mixed
85+
* @inheritdoc
8886
*/
8987
public function getData()
9088
{
@@ -97,10 +95,7 @@ public function getData()
9795
}
9896

9997
/**
100-
* Get Meta
101-
*
102-
* @return array
103-
* @throws \Magento\Framework\Exception\LocalizedException
98+
* @inheritdoc
10499
*/
105100
public function getMeta()
106101
{
@@ -112,31 +107,23 @@ public function getMeta()
112107
}
113108

114109
/**
115-
* Get Data Provider name
116-
*
117-
* @return string
110+
* @inheritdoc
118111
*/
119112
public function getName()
120113
{
121114
return $this->name;
122115
}
123116

124117
/**
125-
* Get config data
126-
*
127-
* @return mixed
118+
* @inheritdoc
128119
*/
129120
public function getConfigData()
130121
{
131122
return $this->data['config'] ?? [];
132123
}
133124

134125
/**
135-
* Set config data
136-
*
137-
* @param mixed $config
138-
*
139-
* @return bool
126+
* @inheritdoc
140127
*/
141128
public function setConfigData($config)
142129
{
@@ -146,117 +133,76 @@ public function setConfigData($config)
146133
}
147134

148135
/**
149-
* Get Field Meta Info
150-
*
151-
* @param string $fieldSetName
152-
* @param string $fieldName
153-
*
154-
* @return array
155-
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
136+
* @inheritdoc
156137
*/
157138
public function getFieldMetaInfo($fieldSetName, $fieldName)
158139
{
159140
return [];
160141
}
161142

162143
/**
163-
* Get Field Set Meta Info
164-
*
165-
* @param string $fieldSetName
166-
*
167-
* @return array
168-
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
144+
* @inheritdoc
169145
*/
170146
public function getFieldSetMetaInfo($fieldSetName)
171147
{
172148
return [];
173149
}
174150

175151
/**
176-
* Get Fields Meta Info
177-
*
178-
* @param string $fieldSetName
179-
*
180-
* @return array
181-
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
152+
* @inheritdoc
182153
*/
183154
public function getFieldsMetaInfo($fieldSetName)
184155
{
185156
return [];
186157
}
187158

188159
/**
189-
* Get Primary Field Name
190-
*
191-
* @return string
160+
* @inheritdoc
192161
*/
193162
public function getPrimaryFieldName()
194163
{
195164
return 'release_notification';
196165
}
197166

198167
/**
199-
* Get Request Field Name
200-
*
201-
* @return string
168+
* @inheritdoc
202169
*/
203170
public function getRequestFieldName()
204171
{
205172
return 'release_notification';
206173
}
207174

208175
/**
209-
* Add Filter
210-
*
211-
* @param \Magento\Framework\Api\Filter $filter
212-
*
213-
* @return void
214-
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
176+
* @inheritdoc
215177
*/
216178
public function addFilter(\Magento\Framework\Api\Filter $filter)
217179
{
218180
}
219181

220182
/**
221-
* Add Order
222-
*
223-
* @param string $field
224-
* @param string $direction
225-
*
226-
* @return void
227-
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
183+
* @inheritdoc
228184
*/
229185
public function addOrder($field, $direction)
230186
{
231187
}
232188

233189
/**
234-
* Set Limit
235-
*
236-
* @param int $offset
237-
* @param int $size
238-
*
239-
* @return void
240-
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
190+
* @inheritdoc
241191
*/
242192
public function setLimit($offset, $size)
243193
{
244194
}
245195

246196
/**
247-
* Get Search Criteria
248-
*
249-
* @return SearchCriteriaInterface
197+
* @inheritdoc
250198
*/
251199
public function getSearchCriteria()
252200
{
253201
return $this->searchCriteria;
254202
}
255203

256204
/**
257-
* Get Search Result
258-
*
259-
* @return SearchResultInterface
205+
* @inheritdoc
260206
*/
261207
public function getSearchResult()
262208
{

0 commit comments

Comments
 (0)