Skip to content

Commit 3a82ac5

Browse files
committed
fix psalm
1 parent e4197ab commit 3a82ac5

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

lib/Cleantalk/ApbctWP/ContactsEncoder/Shortcodes/ExcludedEncodeContentSC.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ public function callback($_atts, $content, $_tag)
7373
* @param string|null $content Content string, or null when hooked to get_header/get_footer actions.
7474
*
7575
* @return string
76+
* @psalm-suppress NullableReturnStatement
7677
*/
7778
public function changeContentBeforeEncoderModify($content)
7879
{
@@ -103,6 +104,7 @@ public function changeContentBeforeEncoderModify($content)
103104
* @param string|null $content Content string, or null when hooked to get_header/get_footer actions.
104105
*
105106
* @return string Replaces $apbct->buffer by probably modified content or just return probably modified $content
107+
* @psalm-suppress NullableReturnStatement
106108
*/
107109
public function changeContentAfterEncoderModify($content)
108110
{

0 commit comments

Comments
 (0)