zircote / swagger-php

A php swagger annotation and parsing library
http://zircote.github.io/swagger-php/
Apache License 2.0
5.08k stars 933 forks source link

Fix nullable processor call #1604

Closed mstegmeyer closed 4 months ago

mstegmeyer commented 4 months ago

fixes #1603

The options processors was nullable before, now this throws an error, because the parameters of the generator setter are not nullable. Also, the set method for setProcessorPipline was executed twice, which makes the first call redundant.

Now not provided options for processor and processors should work, with processor having priority over processors.

mstegmeyer commented 4 months ago

@DerManoMann please have a look, you introduced the breaking change 😉

KminekMatej commented 4 months ago

+1 , happened to me as well