Skip to content

Commit 34b1eee

Browse files
committed
Fixes for failed static tests
1 parent 65ebe4f commit 34b1eee

File tree

11 files changed

+70
-56
lines changed

11 files changed

+70
-56
lines changed

lib/internal/Magento/Framework/DB/Query/BatchIteratorInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
namespace Magento\Framework\DB\Query;
77

88
/**
9-
* Batch Iterator interface
9+
* The batch queries iterator interface
1010
*/
1111
interface BatchIteratorInterface extends \Iterator
1212
{

lib/internal/Magento/Framework/DB/Tree/NodeSet.php

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ public function __construct()
4646
}
4747

4848
/**
49+
* Adds a node to node list.
50+
*
4951
* @param Node $node
5052
* @return int
5153
*
@@ -59,6 +61,8 @@ public function addNode(Node $node)
5961
}
6062

6163
/**
64+
* Retrieves count elements in node list.
65+
*
6266
* @return int
6367
*
6468
* @deprecated 102.0.0
@@ -70,6 +74,8 @@ public function count()
7074
}
7175

7276
/**
77+
* Checks if current position is valid.
78+
*
7379
* @return bool
7480
*
7581
* @deprecated 102.0.0
@@ -81,6 +87,8 @@ public function valid()
8187
}
8288

8389
/**
90+
* Move forward to next element.
91+
*
8492
* @return false|int
8593
*
8694
* @deprecated 102.0.0
@@ -96,6 +104,8 @@ public function next()
96104
}
97105

98106
/**
107+
* Retrieves the key of the current element.
108+
*
99109
* @return int
100110
*
101111
* @deprecated 102.0.0
@@ -107,6 +117,8 @@ public function key()
107117
}
108118

109119
/**
120+
* Retrieves the current node.
121+
*
110122
* @return Node
111123
*
112124
* @deprecated 102.0.0
@@ -118,6 +130,8 @@ public function current()
118130
}
119131

120132
/**
133+
* Rewinds the Iterator to the first element.
134+
*
121135
* @return void
122136
*
123137
* @deprecated 102.0.0

lib/internal/Magento/Framework/MessageQueue/Consumer/Config/ConsumerConfigItem/Handler/Iterator.php

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public function current()
6161
}
6262

6363
/**
64-
* {@inheritdoc}
64+
* @inheritdoc
6565
*/
6666
#[\ReturnTypeWillChange]
6767
public function next()
@@ -84,7 +84,7 @@ private function initObject(array $data)
8484
}
8585

8686
/**
87-
* {@inheritdoc}
87+
* @inheritdoc
8888
*/
8989
#[\ReturnTypeWillChange]
9090
public function key()
@@ -93,7 +93,7 @@ public function key()
9393
}
9494

9595
/**
96-
* {@inheritdoc}
96+
* @inheritdoc
9797
*/
9898
#[\ReturnTypeWillChange]
9999
public function valid()
@@ -102,7 +102,7 @@ public function valid()
102102
}
103103

104104
/**
105-
* {@inheritdoc}
105+
* @inheritdoc
106106
*/
107107
#[\ReturnTypeWillChange]
108108
public function rewind()
@@ -114,7 +114,7 @@ public function rewind()
114114
}
115115

116116
/**
117-
* {@inheritdoc}
117+
* @inheritdoc
118118
*/
119119
#[\ReturnTypeWillChange]
120120
public function offsetExists($offset)
@@ -123,7 +123,7 @@ public function offsetExists($offset)
123123
}
124124

125125
/**
126-
* {@inheritdoc}
126+
* @inheritdoc
127127
*/
128128
#[\ReturnTypeWillChange]
129129
public function offsetGet($offset)
@@ -137,7 +137,7 @@ public function offsetGet($offset)
137137
}
138138

139139
/**
140-
* {@inheritdoc}
140+
* @inheritdoc
141141
*/
142142
#[\ReturnTypeWillChange]
143143
public function offsetSet($offset, $value)
@@ -146,7 +146,7 @@ public function offsetSet($offset, $value)
146146
}
147147

148148
/**
149-
* {@inheritdoc}
149+
* @inheritdoc
150150
*/
151151
#[\ReturnTypeWillChange]
152152
public function offsetUnset($offset)

lib/internal/Magento/Framework/MessageQueue/Consumer/Config/ConsumerConfigItem/Iterator.php

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public function current()
5353
}
5454

5555
/**
56-
* {@inheritdoc}
56+
* @inheritdoc
5757
*/
5858
#[\ReturnTypeWillChange]
5959
public function next()
@@ -76,7 +76,7 @@ private function initObject(array $data)
7676
}
7777

7878
/**
79-
* {@inheritdoc}
79+
* @inheritdoc
8080
*/
8181
#[\ReturnTypeWillChange]
8282
public function key()
@@ -85,7 +85,7 @@ public function key()
8585
}
8686

8787
/**
88-
* {@inheritdoc}
88+
* @inheritdoc
8989
*/
9090
#[\ReturnTypeWillChange]
9191
public function valid()
@@ -94,7 +94,7 @@ public function valid()
9494
}
9595

9696
/**
97-
* {@inheritdoc}
97+
* @inheritdoc
9898
*/
9999
#[\ReturnTypeWillChange]
100100
public function rewind()
@@ -106,7 +106,7 @@ public function rewind()
106106
}
107107

108108
/**
109-
* {@inheritdoc}
109+
* @inheritdoc
110110
*/
111111
#[\ReturnTypeWillChange]
112112
public function offsetExists($offset)
@@ -115,7 +115,7 @@ public function offsetExists($offset)
115115
}
116116

117117
/**
118-
* {@inheritdoc}
118+
* @inheritdoc
119119
*/
120120
#[\ReturnTypeWillChange]
121121
public function offsetGet($offset)
@@ -129,7 +129,7 @@ public function offsetGet($offset)
129129
}
130130

131131
/**
132-
* {@inheritdoc}
132+
* @inheritdoc
133133
*/
134134
#[\ReturnTypeWillChange]
135135
public function offsetSet($offset, $value)
@@ -138,7 +138,7 @@ public function offsetSet($offset, $value)
138138
}
139139

140140
/**
141-
* {@inheritdoc}
141+
* @inheritdoc
142142
*/
143143
#[\ReturnTypeWillChange]
144144
public function offsetUnset($offset)

lib/internal/Magento/Framework/MessageQueue/Publisher/Config/PublisherConfigItem/Iterator.php

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public function current()
5353
}
5454

5555
/**
56-
* {@inheritdoc}
56+
* @inheritdoc
5757
*/
5858
#[\ReturnTypeWillChange]
5959
public function next()
@@ -79,7 +79,7 @@ private function initObject(array $data)
7979
}
8080

8181
/**
82-
* {@inheritdoc}
82+
* @inheritdoc
8383
*/
8484
#[\ReturnTypeWillChange]
8585
public function key()
@@ -88,7 +88,7 @@ public function key()
8888
}
8989

9090
/**
91-
* {@inheritdoc}
91+
* @inheritdoc
9292
*/
9393
#[\ReturnTypeWillChange]
9494
public function valid()
@@ -97,7 +97,7 @@ public function valid()
9797
}
9898

9999
/**
100-
* {@inheritdoc}
100+
* @inheritdoc
101101
*/
102102
#[\ReturnTypeWillChange]
103103
public function rewind()
@@ -112,7 +112,7 @@ public function rewind()
112112
}
113113

114114
/**
115-
* {@inheritdoc}
115+
* @inheritdoc
116116
*/
117117
#[\ReturnTypeWillChange]
118118
public function offsetExists($offset)
@@ -121,7 +121,7 @@ public function offsetExists($offset)
121121
}
122122

123123
/**
124-
* {@inheritdoc}
124+
* @inheritdoc
125125
*/
126126
#[\ReturnTypeWillChange]
127127
public function offsetGet($offset)
@@ -135,7 +135,7 @@ public function offsetGet($offset)
135135
}
136136

137137
/**
138-
* {@inheritdoc}
138+
* @inheritdoc
139139
*/
140140
#[\ReturnTypeWillChange]
141141
public function offsetSet($offset, $value)
@@ -144,7 +144,7 @@ public function offsetSet($offset, $value)
144144
}
145145

146146
/**
147-
* {@inheritdoc}
147+
* @inheritdoc
148148
*/
149149
#[\ReturnTypeWillChange]
150150
public function offsetUnset($offset)

lib/internal/Magento/Framework/MessageQueue/Topology/Config/ExchangeConfigItem/Binding/Iterator.php

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public function current()
6161
}
6262

6363
/**
64-
* {@inheritdoc}
64+
* @inheritdoc
6565
*/
6666
#[\ReturnTypeWillChange]
6767
public function next()
@@ -87,7 +87,7 @@ private function initObject(array $data)
8787
}
8888

8989
/**
90-
* {@inheritdoc}
90+
* @inheritdoc
9191
*/
9292
#[\ReturnTypeWillChange]
9393
public function key()
@@ -96,7 +96,7 @@ public function key()
9696
}
9797

9898
/**
99-
* {@inheritdoc}
99+
* @inheritdoc
100100
*/
101101
#[\ReturnTypeWillChange]
102102
public function valid()
@@ -105,7 +105,7 @@ public function valid()
105105
}
106106

107107
/**
108-
* {@inheritdoc}
108+
* @inheritdoc
109109
*/
110110
#[\ReturnTypeWillChange]
111111
public function rewind()
@@ -120,7 +120,7 @@ public function rewind()
120120
}
121121

122122
/**
123-
* {@inheritdoc}
123+
* @inheritdoc
124124
*/
125125
#[\ReturnTypeWillChange]
126126
public function offsetExists($offset)
@@ -129,7 +129,7 @@ public function offsetExists($offset)
129129
}
130130

131131
/**
132-
* {@inheritdoc}
132+
* @inheritdoc
133133
*/
134134
#[\ReturnTypeWillChange]
135135
public function offsetGet($offset)
@@ -143,7 +143,7 @@ public function offsetGet($offset)
143143
}
144144

145145
/**
146-
* {@inheritdoc}
146+
* @inheritdoc
147147
*/
148148
#[\ReturnTypeWillChange]
149149
public function offsetSet($offset, $value)
@@ -152,7 +152,7 @@ public function offsetSet($offset, $value)
152152
}
153153

154154
/**
155-
* {@inheritdoc}
155+
* @inheritdoc
156156
*/
157157
#[\ReturnTypeWillChange]
158158
public function offsetUnset($offset)

0 commit comments

Comments
 (0)