@@ -141,12 +141,12 @@ public function add(ErrorInterface $error): self
141141 */
142142 public function addDataError (
143143 string $ title ,
144- string $ detail = null ,
145- string $ status = null ,
144+ ? string $ detail = null ,
145+ ? string $ status = null ,
146146 $ idx = null ,
147- LinkInterface $ aboutLink = null ,
147+ ? LinkInterface $ aboutLink = null ,
148148 ?iterable $ typeLinks = null ,
149- string $ code = null ,
149+ ? string $ code = null ,
150150 bool $ hasMeta = false ,
151151 $ meta = null
152152 ): self {
@@ -181,12 +181,12 @@ public function addDataError(
181181 */
182182 public function addDataTypeError (
183183 string $ title ,
184- string $ detail = null ,
185- string $ status = null ,
184+ ? string $ detail = null ,
185+ ? string $ status = null ,
186186 $ idx = null ,
187- LinkInterface $ aboutLink = null ,
187+ ? LinkInterface $ aboutLink = null ,
188188 ?iterable $ typeLinks = null ,
189- string $ code = null ,
189+ ? string $ code = null ,
190190 bool $ hasMeta = false ,
191191 $ meta = null
192192 ): self {
@@ -221,12 +221,12 @@ public function addDataTypeError(
221221 */
222222 public function addDataIdError (
223223 string $ title ,
224- string $ detail = null ,
225- string $ status = null ,
224+ ? string $ detail = null ,
225+ ? string $ status = null ,
226226 $ idx = null ,
227- LinkInterface $ aboutLink = null ,
227+ ? LinkInterface $ aboutLink = null ,
228228 ?iterable $ typeLinks = null ,
229- string $ code = null ,
229+ ? string $ code = null ,
230230 bool $ hasMeta = false ,
231231 $ meta = null
232232 ): self {
@@ -261,12 +261,12 @@ public function addDataIdError(
261261 */
262262 public function addAttributesError (
263263 string $ title ,
264- string $ detail = null ,
265- string $ status = null ,
264+ ? string $ detail = null ,
265+ ? string $ status = null ,
266266 $ idx = null ,
267- LinkInterface $ aboutLink = null ,
267+ ? LinkInterface $ aboutLink = null ,
268268 ?iterable $ typeLinks = null ,
269- string $ code = null ,
269+ ? string $ code = null ,
270270 bool $ hasMeta = false ,
271271 $ meta = null
272272 ): self {
@@ -305,12 +305,12 @@ public function addAttributesError(
305305 public function addDataAttributeError (
306306 $ name ,
307307 string $ title ,
308- string $ detail = null ,
309- string $ status = null ,
308+ ? string $ detail = null ,
309+ ? string $ status = null ,
310310 $ idx = null ,
311- LinkInterface $ aboutLink = null ,
311+ ? LinkInterface $ aboutLink = null ,
312312 ?iterable $ typeLinks = null ,
313- string $ code = null ,
313+ ? string $ code = null ,
314314 bool $ hasMeta = false ,
315315 $ meta = null
316316 ): self {
@@ -345,12 +345,12 @@ public function addDataAttributeError(
345345 */
346346 public function addRelationshipsError (
347347 string $ title ,
348- string $ detail = null ,
349- string $ status = null ,
348+ ? string $ detail = null ,
349+ ? string $ status = null ,
350350 $ idx = null ,
351- LinkInterface $ aboutLink = null ,
351+ ? LinkInterface $ aboutLink = null ,
352352 ?iterable $ typeLinks = null ,
353- string $ code = null ,
353+ ? string $ code = null ,
354354 bool $ hasMeta = false ,
355355 $ meta = null
356356 ): self {
@@ -389,12 +389,12 @@ public function addRelationshipsError(
389389 public function addRelationshipError (
390390 $ name ,
391391 string $ title ,
392- string $ detail = null ,
393- string $ status = null ,
392+ ? string $ detail = null ,
393+ ? string $ status = null ,
394394 $ idx = null ,
395- LinkInterface $ aboutLink = null ,
395+ ? LinkInterface $ aboutLink = null ,
396396 ?iterable $ typeLinks = null ,
397- string $ code = null ,
397+ ? string $ code = null ,
398398 bool $ hasMeta = false ,
399399 $ meta = null
400400 ): self {
@@ -433,12 +433,12 @@ public function addRelationshipError(
433433 public function addRelationshipTypeError (
434434 $ name ,
435435 string $ title ,
436- string $ detail = null ,
437- string $ status = null ,
436+ ? string $ detail = null ,
437+ ? string $ status = null ,
438438 $ idx = null ,
439- LinkInterface $ aboutLink = null ,
439+ ? LinkInterface $ aboutLink = null ,
440440 ?iterable $ typeLinks = null ,
441- string $ code = null ,
441+ ? string $ code = null ,
442442 bool $ hasMeta = false ,
443443 $ meta = null
444444 ): self {
@@ -477,12 +477,12 @@ public function addRelationshipTypeError(
477477 public function addRelationshipIdError (
478478 $ name ,
479479 string $ title ,
480- string $ detail = null ,
481- string $ status = null ,
480+ ? string $ detail = null ,
481+ ? string $ status = null ,
482482 $ idx = null ,
483- LinkInterface $ aboutLink = null ,
483+ ? LinkInterface $ aboutLink = null ,
484484 ?iterable $ typeLinks = null ,
485- string $ code = null ,
485+ ? string $ code = null ,
486486 bool $ hasMeta = false ,
487487 $ meta = null
488488 ): self {
@@ -521,12 +521,12 @@ public function addRelationshipIdError(
521521 public function addQueryParameterError (
522522 string $ name ,
523523 string $ title ,
524- string $ detail = null ,
525- string $ status = null ,
524+ ? string $ detail = null ,
525+ ? string $ status = null ,
526526 $ idx = null ,
527- LinkInterface $ aboutLink = null ,
527+ ? LinkInterface $ aboutLink = null ,
528528 ?iterable $ typeLinks = null ,
529- string $ code = null ,
529+ ? string $ code = null ,
530530 bool $ hasMeta = false ,
531531 $ meta = null
532532 ): self {
@@ -557,12 +557,12 @@ public function addQueryParameterError(
557557 protected function addResourceError (
558558 string $ title ,
559559 string $ pointer ,
560- string $ detail = null ,
561- string $ status = null ,
560+ ? string $ detail = null ,
561+ ? string $ status = null ,
562562 $ idx = null ,
563- LinkInterface $ aboutLink = null ,
563+ ? LinkInterface $ aboutLink = null ,
564564 ?iterable $ typeLinks = null ,
565- string $ code = null ,
565+ ? string $ code = null ,
566566 bool $ hasMeta = false ,
567567 $ meta = null
568568 ): self {
0 commit comments