Change type definition on notify_users to allow for null input#34
Conversation
|
Is that PHP 7.4 compatible? |
Ah no, sorry. I'll adjust. |
|
I'm not sure why my commits aren't signed. I signed them, and saw the signage in the commit message. |
|
The DCO bot wants you to add Signed-off-by to your commit message, not a digital signature. |
I'm aware. That didn't work and I don't know why. |
|
I read that, and followed those instructions. That's how we got here. |
|
@topher1kenobe The problem is you have two commits that weren’t signed off. I had the same problem when I messed up signing one and the whole PR held on to it. Did you do this part? The force push was the only way to fix it. To add your Signed-off-by line to every commit in this branch:
|
Signed-off-by: Sören Wünsch <soeren.wrede@parshipgroup.com> Signed-off-by: Topher DeRosia <topher@mediaforge.pro>
Signed-off-by: Topher DeRosia <topher@mediaforge.pro>
Signed-off-by: Topher DeRosia <topher@mediaforge.pro>
87e8208 to
9757143
Compare
I had tried this once before, but I've done it again. We'll see if it works. |
|
That worked! Looks like it never properly force pushed. No worries, git can get weird. I’m doing a scan to see how common this error is in plugins. Regardless I think this is a good fix. Should/can we toss in a “doing it wrong” notice for the devs? |
|
Docblock change and null handling is mmissing. |
Co-authored-by: Joost de Valk <joost@altha.nl> Signed-off-by: Colin Stewart <79332690+costdev@users.noreply.github.com>
Change
function notify_users( string $content = '' ) : string {to
function notify_users( string|null $content = '' ) : string {