@@ -63,6 +63,9 @@ class DOMCaster
6363 \XML_NAMESPACE_DECL_NODE => 'XML_NAMESPACE_DECL_NODE ' ,
6464 ];
6565
66+ /**
67+ * @return array
68+ */
6669 public static function castException (\DOMException $ e , array $ a , Stub $ stub , bool $ isNested )
6770 {
6871 $ k = Caster::PREFIX_PROTECTED .'code ' ;
@@ -73,6 +76,9 @@ public static function castException(\DOMException $e, array $a, Stub $stub, boo
7376 return $ a ;
7477 }
7578
79+ /**
80+ * @return array
81+ */
7682 public static function castLength ($ dom , array $ a , Stub $ stub , bool $ isNested )
7783 {
7884 $ a += [
@@ -82,6 +88,9 @@ public static function castLength($dom, array $a, Stub $stub, bool $isNested)
8288 return $ a ;
8389 }
8490
91+ /**
92+ * @return array
93+ */
8594 public static function castImplementation (\DOMImplementation $ dom , array $ a , Stub $ stub , bool $ isNested )
8695 {
8796 $ a += [
@@ -92,6 +101,9 @@ public static function castImplementation(\DOMImplementation $dom, array $a, Stu
92101 return $ a ;
93102 }
94103
104+ /**
105+ * @return array
106+ */
95107 public static function castNode (\DOMNode $ dom , array $ a , Stub $ stub , bool $ isNested )
96108 {
97109 $ a += [
@@ -116,6 +128,9 @@ public static function castNode(\DOMNode $dom, array $a, Stub $stub, bool $isNes
116128 return $ a ;
117129 }
118130
131+ /**
132+ * @return array
133+ */
119134 public static function castNameSpaceNode (\DOMNameSpaceNode $ dom , array $ a , Stub $ stub , bool $ isNested )
120135 {
121136 $ a += [
@@ -132,6 +147,9 @@ public static function castNameSpaceNode(\DOMNameSpaceNode $dom, array $a, Stub
132147 return $ a ;
133148 }
134149
150+ /**
151+ * @return array
152+ */
135153 public static function castDocument (\DOMDocument $ dom , array $ a , Stub $ stub , bool $ isNested , int $ filter = 0 )
136154 {
137155 $ a += [
@@ -166,6 +184,9 @@ public static function castDocument(\DOMDocument $dom, array $a, Stub $stub, boo
166184 return $ a ;
167185 }
168186
187+ /**
188+ * @return array
189+ */
169190 public static function castCharacterData (\DOMCharacterData $ dom , array $ a , Stub $ stub , bool $ isNested )
170191 {
171192 $ a += [
@@ -176,6 +197,9 @@ public static function castCharacterData(\DOMCharacterData $dom, array $a, Stub
176197 return $ a ;
177198 }
178199
200+ /**
201+ * @return array
202+ */
179203 public static function castAttr (\DOMAttr $ dom , array $ a , Stub $ stub , bool $ isNested )
180204 {
181205 $ a += [
@@ -189,6 +213,9 @@ public static function castAttr(\DOMAttr $dom, array $a, Stub $stub, bool $isNes
189213 return $ a ;
190214 }
191215
216+ /**
217+ * @return array
218+ */
192219 public static function castElement (\DOMElement $ dom , array $ a , Stub $ stub , bool $ isNested )
193220 {
194221 $ a += [
@@ -199,6 +226,9 @@ public static function castElement(\DOMElement $dom, array $a, Stub $stub, bool
199226 return $ a ;
200227 }
201228
229+ /**
230+ * @return array
231+ */
202232 public static function castText (\DOMText $ dom , array $ a , Stub $ stub , bool $ isNested )
203233 {
204234 $ a += [
@@ -208,6 +238,9 @@ public static function castText(\DOMText $dom, array $a, Stub $stub, bool $isNes
208238 return $ a ;
209239 }
210240
241+ /**
242+ * @return array
243+ */
211244 public static function castDocumentType (\DOMDocumentType $ dom , array $ a , Stub $ stub , bool $ isNested )
212245 {
213246 $ a += [
@@ -222,6 +255,9 @@ public static function castDocumentType(\DOMDocumentType $dom, array $a, Stub $s
222255 return $ a ;
223256 }
224257
258+ /**
259+ * @return array
260+ */
225261 public static function castNotation (\DOMNotation $ dom , array $ a , Stub $ stub , bool $ isNested )
226262 {
227263 $ a += [
@@ -232,6 +268,9 @@ public static function castNotation(\DOMNotation $dom, array $a, Stub $stub, boo
232268 return $ a ;
233269 }
234270
271+ /**
272+ * @return array
273+ */
235274 public static function castEntity (\DOMEntity $ dom , array $ a , Stub $ stub , bool $ isNested )
236275 {
237276 $ a += [
@@ -246,6 +285,9 @@ public static function castEntity(\DOMEntity $dom, array $a, Stub $stub, bool $i
246285 return $ a ;
247286 }
248287
288+ /**
289+ * @return array
290+ */
249291 public static function castProcessingInstruction (\DOMProcessingInstruction $ dom , array $ a , Stub $ stub , bool $ isNested )
250292 {
251293 $ a += [
@@ -256,6 +298,9 @@ public static function castProcessingInstruction(\DOMProcessingInstruction $dom,
256298 return $ a ;
257299 }
258300
301+ /**
302+ * @return array
303+ */
259304 public static function castXPath (\DOMXPath $ dom , array $ a , Stub $ stub , bool $ isNested )
260305 {
261306 $ a += [
0 commit comments